Ejemplo n.º 1
0
 public RemOp(
     SPARCArithmetic opcode,
     Value result,
     Value x,
     Value y,
     LIRFrameState state,
     LIRGeneratorTool gen) {
   this.opcode = opcode;
   this.result = result;
   this.x = x;
   this.y = y;
   this.scratch1 = gen.newVariable(LIRKind.derive(x, y));
   this.scratch2 = gen.newVariable(LIRKind.derive(x, y));
   this.state = state;
 }
Ejemplo n.º 2
0
 public SPARCSafepointOp(LIRFrameState state, HotSpotVMConfig config, LIRGeneratorTool tool) {
   this.state = state;
   this.config = config;
   temp = tool.newVariable(tool.target().wordKind);
 }