diff options
| author | Xe <me@christine.website> | 2022-12-31 14:43:42 -0500 |
|---|---|---|
| committer | Xe <me@christine.website> | 2022-12-31 14:43:42 -0500 |
| commit | 4970fdc51f8c83dcd38bbdd25606fe030c0c26d2 (patch) | |
| tree | 36d9d32f5b2b6aca843952fb9eb0d75e11f86697 /cmd/hlang/nguh | |
| parent | 2fe527950512b97a544d2d59539026514ad59544 (diff) | |
| download | x-4970fdc51f8c83dcd38bbdd25606fe030c0c26d2.tar.xz x-4970fdc51f8c83dcd38bbdd25606fe030c0c26d2.zip | |
nice
Signed-off-by: Xe <me@christine.website>
Diffstat (limited to 'cmd/hlang/nguh')
| -rw-r--r-- | cmd/hlang/nguh/compile.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/hlang/nguh/compile.go b/cmd/hlang/nguh/compile.go index d268d77..72fb6aa 100644 --- a/cmd/hlang/nguh/compile.go +++ b/cmd/hlang/nguh/compile.go @@ -135,6 +135,7 @@ func Compile(tree *peg.Node) ([]byte, error) { funcBuf.Write([]byte{ 0x20, 0x00, // local.get 0 0x10, 0x00, // call 0 + 0x01, 0x01, // two padding NOPs to get a single `h` binary to be 69 bytes. 0x0b, // end of function }) |
