Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Debug commit for #3407.
Browse files Browse the repository at this point in the history
headius committed Oct 23, 2015
1 parent f3d4ed6 commit f570f20
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -105,6 +105,10 @@ public IRubyObject interpret(ThreadContext context, IRubyObject self,
InterpreterContext interpreterContext, RubyModule implClass,
String name, IRubyObject[] args, Block block, Block.Type blockType) {
Instr[] instrs = interpreterContext.getInstructions();
if (instrs == null) {
System.out.println("null instrs detected in : " + interpreterContext.getScope());
throw context.runtime.newRuntimeError("null instrs");
}
Object[] temp = interpreterContext.allocateTemporaryVariables();
double[] floats = interpreterContext.allocateTemporaryFloatVariables();
long[] fixnums = interpreterContext.allocateTemporaryFixnumVariables();

0 comments on commit f570f20

Please sign in to comment.