Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add line instruction to interpreter

  • Loading branch information...
commit e29554ca7788c122c7491fd963c04df0e7a9e9bc 1 parent 7de1953
@krestenkrab krestenkrab authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/main/java/erjang/beam/interpreter/ops.spec
View
3  src/main/java/erjang/beam/interpreter/ops.spec
@@ -203,6 +203,9 @@ call_fun arity:
i_call_fun_last arity:
PRE_CALL(); int ary=GET(arity); return ((EFun)reg[ary]).invoke(proc, reg, 0, ary);
+line number:
+ /* current_line=number; */
+
%class II(i1:I i2:I)
apply_last arity dealloc:
STACK_DEALLOC(GET(dealloc)); int ary = GET(arity); EFun fun = ERT.resolve_fun(reg[ary], reg[ary+1], ary); PRE_CALL(); return fun.invoke(proc, REGS_AS_ARRAY(ary));
Please sign in to comment.
Something went wrong with that request. Please try again.