| Index: src/x64/lithium-x64.cc
|
| diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc
|
| index 3a7366e324699dfdfb8ae6b3f42760298b0984e0..ddaae82022cef07d66f42448d2bc2219633d583f 100644
|
| --- a/src/x64/lithium-x64.cc
|
| +++ b/src/x64/lithium-x64.cc
|
| @@ -1647,8 +1647,8 @@ LInstruction* LChunkBuilder::DoCompareObjectEqAndBranch(
|
|
|
| LInstruction* LChunkBuilder::DoCompareHoleAndBranch(
|
| HCompareHoleAndBranch* instr) {
|
| - LOperand* object = UseRegisterAtStart(instr->object());
|
| - return new(zone()) LCmpHoleAndBranch(object);
|
| + LOperand* value = UseRegisterAtStart(instr->value());
|
| + return new(zone()) LCmpHoleAndBranch(value);
|
| }
|
|
|
|
|
| @@ -1911,12 +1911,6 @@ LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) {
|
| }
|
|
|
|
|
| -LInstruction* LChunkBuilder::DoIsNumberAndBranch(HIsNumberAndBranch* instr) {
|
| - return new(zone()) LIsNumberAndBranch(
|
| - UseRegisterOrConstantAtStart(instr->value()));
|
| -}
|
| -
|
| -
|
| LInstruction* LChunkBuilder::DoCheckInstanceType(HCheckInstanceType* instr) {
|
| LOperand* value = UseRegisterAtStart(instr->value());
|
| LCheckInstanceType* result = new(zone()) LCheckInstanceType(value);
|
| @@ -2075,6 +2069,11 @@ LInstruction* LChunkBuilder::DoLoadFunctionPrototype(
|
| }
|
|
|
|
|
| +LInstruction* LChunkBuilder::DoLoadRoot(HLoadRoot* instr) {
|
| + return DefineAsRegister(new(zone()) LLoadRoot);
|
| +}
|
| +
|
| +
|
| LInstruction* LChunkBuilder::DoLoadExternalArrayPointer(
|
| HLoadExternalArrayPointer* instr) {
|
| LOperand* input = UseRegisterAtStart(instr->value());
|
|
|