| Index: src/arm/lithium-arm.cc
|
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc
|
| index 3242b19ac7ae046ad03ca408c4701cd1057ce113..38509a6ea8f2e43b1bb19b5e68f603a720fd2f12 100644
|
| --- a/src/arm/lithium-arm.cc
|
| +++ b/src/arm/lithium-arm.cc
|
| @@ -840,6 +840,7 @@ void LChunkBuilder::DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block) {
|
| void LChunkBuilder::VisitInstruction(HInstruction* current) {
|
| HInstruction* old_current = current_instruction_;
|
| current_instruction_ = current;
|
| + if (current->has_position()) position_ = current->position();
|
|
|
| LInstruction* instr = NULL;
|
| if (current->CanReplaceWithDummyUses()) {
|
| @@ -1098,7 +1099,6 @@ LInstruction* LChunkBuilder::DoUnaryMathOperation(HUnaryMathOperation* instr) {
|
| case kMathExp: return DoMathExp(instr);
|
| case kMathSqrt: return DoMathSqrt(instr);
|
| case kMathPowHalf: return DoMathPowHalf(instr);
|
| - case kMathClz32: return DoMathClz32(instr);
|
| default:
|
| UNREACHABLE();
|
| return NULL;
|
| @@ -1140,13 +1140,6 @@ LInstruction* LChunkBuilder::DoMathLog(HUnaryMathOperation* instr) {
|
| }
|
|
|
|
|
| -LInstruction* LChunkBuilder::DoMathClz32(HUnaryMathOperation* instr) {
|
| - LOperand* input = UseRegisterAtStart(instr->value());
|
| - LMathClz32* result = new(zone()) LMathClz32(input);
|
| - return DefineAsRegister(result);
|
| -}
|
| -
|
| -
|
| LInstruction* LChunkBuilder::DoMathExp(HUnaryMathOperation* instr) {
|
| ASSERT(instr->representation().IsDouble());
|
| ASSERT(instr->value()->representation().IsDouble());
|
| @@ -1244,7 +1237,7 @@ LInstruction* LChunkBuilder::DoDiv(HDiv* instr) {
|
| ASSERT(instr->right()->representation().Equals(instr->representation()));
|
| if (instr->RightIsPowerOf2()) {
|
| ASSERT(!instr->CheckFlag(HValue::kCanBeDivByZero));
|
| - LOperand* value = UseRegister(instr->left());
|
| + LOperand* value = UseRegisterAtStart(instr->left());
|
| LDivI* div = new(zone()) LDivI(value, UseConstant(instr->right()), NULL);
|
| return AssignEnvironment(DefineAsRegister(div));
|
| }
|
|
|