Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed some logginf

git-svn-id: http://svn.codehaus.org/jruby/branches/enebo_lexical@2421 961051c9-f516-0410-bf72-c9f7e237a7b7
  • Loading branch information...
commit 9ce3ca2321035f6725afd965ac4a00be3d4907d2 1 parent 8cb4bd6
@headius headius authored
Showing with 1 addition and 6 deletions.
  1. +1 −6 src/org/jruby/ast/executable/InstructionCompiler2.java
View
7 src/org/jruby/ast/executable/InstructionCompiler2.java
@@ -586,7 +586,6 @@ public Instruction visitClassVarDeclNode(ClassVarDeclNode iVisited) {
mv.visitInsn(Opcodes.ATHROW);
mv.visitLabel(l298);
- System.out.println("foo");
getCRefClass();
mv.visitLdcInsn(iVisited.getName());
@@ -1112,20 +1111,16 @@ public Instruction visitLocalVarNode(LocalVarNode iVisited) {
lineNumber(iVisited);
// check if it's an argument
int index = iVisited.getIndex();
- System.out.println("args count: " + args.getArgsCount());
+
if ((index - 2) < args.getArgsCount()) {
// load from the incoming params
// index is 2-based, and our zero is runtime
// load args array
mv.visitVarInsn(Opcodes.ALOAD, 3);
- System.out.println(iVisited.getName());
- System.out.println(iVisited.getIndex());
mv.visitLdcInsn(new Integer(index - 2));
mv.visitInsn(Opcodes.AALOAD);
} else {
- // System.out.println(iVisited.getName());
- // System.out.println(iVisited.getIndex());
// loadThreadContext();
// invokeThreadContext("getCurrentScope", "()Lorg/jruby/runtime/DynamicScope;");
// mv.visitLdcInsn(new Integer(iVisited.getIndex()));
Please sign in to comment.
Something went wrong with that request. Please try again.