fix silly error in recent compiler refactor #150

merged 2 commits into from Jan 3, 2014

2 participants

ReadyTalk member

I can't fathom why the problem didn't present itself on x86... but that's that.

This fixes #146.

ReadyTalk member

Would you mind adding this so we can erase my irresponsible and rushed attempt to remove the build error?

diff --git a/src/compile.cpp b/src/compile.cpp
index 92b994e..7a968e1 100644
--- a/src/compile.cpp
+++ b/src/compile.cpp
@@ -4008,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;

@dicej dicej merged commit abdbf6f into ReadyTalk:master Jan 3, 2014

1 check passed

Details default The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment