From 2e5e16dfe823161a8f105d372bf29e9f9e98925f Mon Sep 17 00:00:00 2001 From: Stefan Marr Date: Tue, 24 Aug 2021 10:41:58 +0100 Subject: [PATCH] Fix emitting new bytecodes Signed-off-by: Stefan Marr --- src/som/compiler/bc/bytecode_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/som/compiler/bc/bytecode_generator.py b/src/som/compiler/bc/bytecode_generator.py index 5c4513e9..642a550b 100644 --- a/src/som/compiler/bc/bytecode_generator.py +++ b/src/som/compiler/bc/bytecode_generator.py @@ -25,7 +25,7 @@ def emit_push_argument(mgenc, idx, ctx): def emit_nil_local(mgenc, idx): - emit2(mgenc, BC.nil_local, idx) + emit2(mgenc, BC.nil_local, idx, 0) def emit_return_self(mgenc):