Replaced builtin store function with a new syntax
This commit is contained in:
parent
a9d783c675
commit
43a006e4af
12 changed files with 54 additions and 46 deletions
|
@ -5,7 +5,7 @@ alloc(length int) -> []byte {
|
|||
return x
|
||||
}
|
||||
|
||||
store(x, 8, length)
|
||||
[x] = length
|
||||
return x + 8
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue