Permalink
Browse files

Add R15 line beam inns

For now, we simply ignore this instruction
  • Loading branch information...
1 parent bb2fed1 commit 1f9e35445fe19731bacf05cdbd5b9c62d21deb93 @krestenkrab krestenkrab committed Mar 22, 2013
@@ -147,7 +147,10 @@
recv_mark (0x96),
recv_set (0x97),
-
+ gc_bif3 (0x98),
+ line (0x99),
+
+
// Opcode groups
test,
@@ -829,6 +829,7 @@ private void accept_2(BlockVisitor2 vis, BeamExceptionHandler exh) {
break;
}
+ case line: // TODO!
case on_load: // ignore
case trim:
break;
@@ -2025,6 +2026,11 @@ public void analyze0() {
continue next_insn;
}
+ case line: {
+ // TODO: Implement LINE instruction!
+ continue next_insn;
+ }
+
default: {
ETuple insn = insn_.toSymbolicTuple();
throw new Error("unhandled: " + insn + "::" + current);
@@ -546,6 +546,7 @@ public Insn readInstruction() throws IOException {
case deallocate:
case call_fun:
case apply:
+ case line:
{
int i1 = readCodeInteger();
if (log.isLoggable(Level.FINE) && opcode==BeamOpcode.label) log.fine("DB| ### label "+i1+"###");

0 comments on commit 1f9e354

Please sign in to comment.