| Index: src/a64/lithium-a64.cc
|
| diff --git a/src/a64/lithium-a64.cc b/src/a64/lithium-a64.cc
|
| index 3857ca7fc352157d738927885a214bcbb23323dc..d9f51e2edb49bb3bbe45216cc25e8aa0296fa7ff 100644
|
| --- a/src/a64/lithium-a64.cc
|
| +++ b/src/a64/lithium-a64.cc
|
| @@ -812,12 +812,10 @@ LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation(
|
|
|
|
|
| LInstruction* LChunkBuilder::DoAccessArgumentsAt(HAccessArgumentsAt* instr) {
|
| - // TODO(all): Try to improve this, like ARM r17925.
|
| info()->MarkAsRequiresFrame();
|
| LOperand* args = NULL;
|
| LOperand* length = NULL;
|
| LOperand* index = NULL;
|
| - LOperand* temp = NULL;
|
|
|
| if (instr->length()->IsConstant() && instr->index()->IsConstant()) {
|
| args = UseRegisterAtStart(instr->arguments());
|
| @@ -827,11 +825,9 @@ LInstruction* LChunkBuilder::DoAccessArgumentsAt(HAccessArgumentsAt* instr) {
|
| args = UseRegister(instr->arguments());
|
| length = UseRegisterAtStart(instr->length());
|
| index = UseRegisterOrConstantAtStart(instr->index());
|
| - temp = TempRegister();
|
| }
|
|
|
| - return DefineAsRegister(
|
| - new(zone()) LAccessArgumentsAt(args, length, index, temp));
|
| + return DefineAsRegister(new(zone()) LAccessArgumentsAt(args, length, index));
|
| }
|
|
|
|
|
|
|