Skip to content

Commit

Permalink
MINOR: Add missing finals and cleanup dead imports (#4742)
Browse files Browse the repository at this point in the history
in `org.jruby.ir.instructions.CallBase`
  • Loading branch information
original-brownbear authored and kares committed Aug 26, 2017
1 parent c60643a commit 2e6f9d9
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions core/src/main/java/org/jruby/ir/instructions/CallBase.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.jruby.ir.instructions;

import org.jruby.RubyArray;
import org.jruby.ir.IRScope;
import org.jruby.ir.Operation;
import org.jruby.ir.operands.*;
@@ -14,8 +13,6 @@
import org.jruby.runtime.callsite.RefinedCachingCallSite;
import org.jruby.util.ArraySupport;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import static org.jruby.ir.IRFlags.*;
@@ -26,9 +23,9 @@ public abstract class CallBase extends NOperandInstr implements ClosureAccepting
public transient final long callSiteId;
private final CallType callType;
protected String name;
protected transient CallSite callSite;
protected transient int argsCount;
protected transient boolean hasClosure;
protected final transient CallSite callSite;
protected final transient int argsCount;
protected final transient boolean hasClosure;

private transient boolean flagsComputed;
private transient boolean canBeEval;
@@ -471,4 +468,4 @@ public Block prepareBlock(ThreadContext context, IRubyObject self, StaticScope c

return IRRuntimeHelpers.getBlockFromObject(context, getClosureArg().retrieve(context, self, currScope, currDynScope, temp));
}
}
}

0 comments on commit 2e6f9d9

Please sign in to comment.