aboutsummaryrefslogtreecommitdiff
path: root/cmd/hlang/nguh
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/hlang/nguh')
-rw-r--r--cmd/hlang/nguh/compile.go1
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
})