Permalink
Browse files

Merge pull request #150 from joshuawarner32/master

fix silly error in recent compiler refactor
  • Loading branch information...
2 parents 38c6951 + 233a12b commit abdbf6f47a37dfead480407ae5d02cd8b57fd195 @dicej dicej committed Jan 3, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/compile.cpp
View
@@ -3665,6 +3665,7 @@ floatBranch(MyThread* t, Frame* frame, object code, unsigned& ip,
a,
b,
target);
+ break;
default:
ip -= 3;
@@ -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:

0 comments on commit abdbf6f

Please sign in to comment.