Skip to content

Commit

Permalink
Merge pull request #150 from joshuawarner32/master
Browse files Browse the repository at this point in the history
fix silly error in recent compiler refactor
  • Loading branch information
dicej committed Jan 3, 2014
2 parents 38c6951 + 233a12b commit abdbf6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/compile.cpp
Expand Up @@ -3665,6 +3665,7 @@ floatBranch(MyThread* t, Frame* frame, object code, unsigned& ip,
a,
b,
target);
break;

default:
ip -= 3;
Expand Down Expand Up @@ -4007,7 +4008,7 @@ compile(MyThread* t, Frame* initialFrame, unsigned initialIp,
unsigned stackSize = codeMaxStack(t, methodCode(t, context->method));
Stack stack(t);
unsigned ip = initialIp;
unsigned newIp = -1;
unsigned newIp;
stack.pushValue(Return);

start:
Expand Down

0 comments on commit abdbf6f

Please sign in to comment.