forked from TrueCloudLab/neoneo-go
added partial syscall mapping
Imported from CityOfZion/neo-storm (26d10c72f6e3d298135ec3995eb2d821640c3b7c).
This commit is contained in:
parent
33c512032f
commit
1927bc54d5
5 changed files with 83 additions and 34 deletions
|
@ -532,7 +532,7 @@ func (c *codegen) Visit(node ast.Node) ast.Visitor {
|
|||
}
|
||||
|
||||
func (c *codegen) convertSyscall(name string) {
|
||||
api, ok := vm.Syscalls[name]
|
||||
api, ok := syscalls[name]
|
||||
if !ok {
|
||||
log.Fatalf("unknown VM syscall api: %s", name)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue