Skip to content

Commit

Permalink
Showing 12 changed files with 0 additions and 29 deletions.
Original file line number Diff line number Diff line change
@@ -13,8 +13,6 @@
import org.jruby.runtime.ThreadContext;
import org.jruby.runtime.builtin.IRubyObject;

import java.util.Map;

public class BlockGivenInstr extends OneOperandResultBaseInstr implements FixedArityInstr {
public BlockGivenInstr(Variable result, Operand block) {
super(Operation.BLOCK_GIVEN, result, block);
Original file line number Diff line number Diff line change
@@ -2,7 +2,6 @@

import org.jruby.ir.Operation;
import org.jruby.ir.operands.Label;
import org.jruby.ir.operands.Operand;

public abstract class BranchInstr extends Instr {
public BranchInstr(Operation op) {
2 changes: 0 additions & 2 deletions core/src/main/java/org/jruby/ir/instructions/BreakInstr.java
Original file line number Diff line number Diff line change
@@ -12,8 +12,6 @@
import org.jruby.ir.transformations.inlining.InlineCloneInfo;
import org.jruby.ir.transformations.inlining.SimpleCloneInfo;

import java.util.Map;

// NOTE: breaks that jump out of while/until loops would have
// been transformed by the IR building into an ordinary jump.
//
Original file line number Diff line number Diff line change
@@ -10,8 +10,6 @@
import org.jruby.runtime.DynamicScope;
import org.jruby.runtime.ThreadContext;

/**
*/
public class CheckForLJEInstr extends NoOperandInstr {
private boolean maybeLambda;

Original file line number Diff line number Diff line change
@@ -2,7 +2,6 @@

import org.jruby.ir.*;
import org.jruby.ir.operands.Operand;
import org.jruby.ir.operands.StringLiteral;
import org.jruby.ir.operands.Variable;
import org.jruby.ir.persistence.IRReaderDecoder;
import org.jruby.ir.persistence.IRWriterEncoder;
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
package org.jruby.ir.instructions;

import java.util.Arrays;
import org.jruby.ir.IRVisitor;
import org.jruby.ir.Operation;
import org.jruby.ir.runtime.IRRuntimeHelpers;
import org.jruby.ir.persistence.IRReaderDecoder;
import org.jruby.ir.transformations.inlining.CloneInfo;
import org.jruby.ir.transformations.inlining.SimpleCloneInfo;
import org.jruby.RubyHash;
import org.jruby.RubyArray;
import org.jruby.runtime.Block;
import org.jruby.runtime.BlockBody;
import org.jruby.runtime.Helpers;
import org.jruby.runtime.Signature;
import org.jruby.runtime.ThreadContext;
import org.jruby.runtime.builtin.IRubyObject;

public class PrepareBlockArgsInstr extends NoOperandInstr implements FixedArityInstr {
public static final PrepareBlockArgsInstr INSTANCE = new PrepareBlockArgsInstr(Operation.PREPARE_BLOCK_ARGS);
Original file line number Diff line number Diff line change
@@ -5,9 +5,6 @@
import org.jruby.ir.persistence.IRReaderDecoder;
import org.jruby.ir.transformations.inlining.CloneInfo;
import org.jruby.ir.transformations.inlining.SimpleCloneInfo;
import org.jruby.runtime.Block;
import org.jruby.runtime.ThreadContext;
import org.jruby.runtime.builtin.IRubyObject;

public class PrepareFixedBlockArgsInstr extends PrepareBlockArgsInstr {
public static final PrepareFixedBlockArgsInstr INSTANCE = new PrepareFixedBlockArgsInstr();
Original file line number Diff line number Diff line change
@@ -5,9 +5,6 @@
import org.jruby.ir.persistence.IRReaderDecoder;
import org.jruby.ir.transformations.inlining.CloneInfo;
import org.jruby.ir.transformations.inlining.SimpleCloneInfo;
import org.jruby.runtime.Block;
import org.jruby.runtime.ThreadContext;
import org.jruby.runtime.builtin.IRubyObject;

public class PrepareSingleBlockArgInstr extends PrepareBlockArgsInstr {
public static final PrepareSingleBlockArgInstr INSTANCE = new PrepareSingleBlockArgInstr();
Original file line number Diff line number Diff line change
@@ -2,8 +2,6 @@

import org.jruby.ir.IRVisitor;
import org.jruby.ir.Operation;
import org.jruby.ir.operands.Operand;
import org.jruby.ir.persistence.IRWriterEncoder;
import org.jruby.ir.persistence.IRReaderDecoder;
import org.jruby.ir.transformations.inlining.CloneInfo;

Original file line number Diff line number Diff line change
@@ -2,7 +2,6 @@

import org.jruby.ir.IRVisitor;
import org.jruby.ir.Operation;
import org.jruby.ir.operands.Operand;
import org.jruby.ir.operands.Variable;
import org.jruby.ir.persistence.IRReaderDecoder;
import org.jruby.ir.persistence.IRWriterEncoder;
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@
import org.jruby.ir.IRScope;
import org.jruby.ir.IRVisitor;
import org.jruby.ir.Operation;
import org.jruby.ir.operands.Operand;
import org.jruby.ir.operands.Variable;
import org.jruby.ir.operands.WrappedIRClosure;
import org.jruby.ir.persistence.IRReaderDecoder;
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.jruby.ir.instructions;

import org.jruby.ir.Operation;
import org.jruby.ir.operands.Operand;
import org.jruby.ir.operands.Variable;
import org.jruby.ir.persistence.IRWriterEncoder;

0 comments on commit 4f73879

Please sign in to comment.