Chromium Code Reviews| Index: src/crankshaft/s390/lithium-s390.cc |
| diff --git a/src/crankshaft/s390/lithium-s390.cc b/src/crankshaft/s390/lithium-s390.cc |
| index d0937e57078c356e6d6133835473114609a72b1d..8c00cf5dcbfdc94bbe37911d20335eba2e0590e3 100644 |
| --- a/src/crankshaft/s390/lithium-s390.cc |
| +++ b/src/crankshaft/s390/lithium-s390.cc |
| @@ -1047,12 +1047,8 @@ LInstruction* LChunkBuilder::DoMathClz32(HUnaryMathOperation* instr) { |
| LInstruction* LChunkBuilder::DoMathExp(HUnaryMathOperation* instr) { |
| DCHECK(instr->representation().IsDouble()); |
| DCHECK(instr->value()->representation().IsDouble()); |
| - LOperand* input = UseRegister(instr->value()); |
| - LOperand* temp1 = TempRegister(); |
| - LOperand* temp2 = TempRegister(); |
| - LOperand* double_temp = TempDoubleRegister(); |
| - LMathExp* result = new (zone()) LMathExp(input, double_temp, temp1, temp2); |
| - return DefineAsRegister(result); |
| + LOperand* input = UseFixedDouble(instr->value(), d1); |
|
john.yan
2016/06/18 02:13:50
I think the first parameter for fp isn't d1. Are y
|
| + return MarkAsCall(DefineFixedDouble(new (zone()) LMathExp(input), d1), instr); |
| } |
| LInstruction* LChunkBuilder::DoMathSqrt(HUnaryMathOperation* instr) { |