Improved thread creation on Linux
This commit is contained in:
parent
b3fec98baf
commit
0ddaeca844
5 changed files with 39 additions and 5 deletions
|
@ -26,6 +26,11 @@ func (f *Function) ExpressionToMemory(node *expression.Expression, memory asm.Me
|
|||
return types.AnyPointer, nil
|
||||
}
|
||||
|
||||
if name == "_exit" {
|
||||
f.MemoryLabel(asm.STORE, memory, "_exit")
|
||||
return types.AnyPointer, nil
|
||||
}
|
||||
|
||||
return nil, errors.New(&errors.UnknownIdentifier{Name: name}, f.File, node.Token.Position)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue