comparison graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java @ 2587:51ebe5f0516f

changed NegateOp, more Op2 changes (generic inputValuesDo impl)
author Lukas Stadler <lukas.stadler@jku.at>
date Thu, 05 May 2011 15:01:34 +0200
parents 421da5f53b5e
children fec99fc30af1
comparison
equal deleted inserted replaced
2586:421da5f53b5e 2587:51ebe5f0516f
558 Value result1 = append(new ArithmeticOp(opcode, result, xValue, yValue, isStrict(method().accessFlags()), state, graph)); 558 Value result1 = append(new ArithmeticOp(opcode, result, xValue, yValue, isStrict(method().accessFlags()), state, graph));
559 push(result, result1); 559 push(result, result1);
560 } 560 }
561 561
562 void genNegateOp(CiKind kind) { 562 void genNegateOp(CiKind kind) {
563 push(kind, append(new NegateOp(pop(kind)))); 563 push(kind, append(new NegateOp(pop(kind), graph)));
564 } 564 }
565 565
566 void genShiftOp(CiKind kind, int opcode) { 566 void genShiftOp(CiKind kind, int opcode) {
567 Value s = ipop(); 567 Value s = ipop();
568 Value x = pop(kind); 568 Value x = pop(kind);