mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Call compile method to override to memolize instances
This commit is contained in:
+1
-1
@@ -1932,7 +1932,7 @@ codegen(codegen_scope *s, node *tree, int val)
|
||||
pop();
|
||||
}
|
||||
pop();
|
||||
sym = new_sym(s, mrb_intern(s->mrb, "new"));
|
||||
sym = new_sym(s, mrb_intern(s->mrb, "compile"));
|
||||
genop(s, MKOP_ABC(OP_SEND, cursp(), sym, n));
|
||||
mrb_gc_arena_restore(s->mrb, ai);
|
||||
push();
|
||||
|
||||
Reference in New Issue
Block a user