aboutsummaryrefslogtreecommitdiffstats
path: root/csc/encoding.csc
diff options
context:
space:
mode:
Diffstat (limited to 'csc/encoding.csc')
-rw-r--r--csc/encoding.csc4
1 files changed, 4 insertions, 0 deletions
diff --git a/csc/encoding.csc b/csc/encoding.csc
index f6a003d..1208993 100644
--- a/csc/encoding.csc
+++ b/csc/encoding.csc
@@ -167,6 +167,10 @@
(('exit code)
(make-opcode w 13 (is-const? code) #f)
(arg->le-bytes w code))
+ (('alloc-bytevector dest size)
+ (make-opcode w 14 (is-const? size) #f)
+ (arg->le-bytes w dest)
+ (arg->le-bytes w size))
(_ (error "invalid opcode" opcode))))