Chromium Code Reviews| Index: src/x64/lithium-x64.cc |
| diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
| index 79ca5f59e7f663e9f06af2eadf10dd80eae314a1..a4918f52ae1a1fef7f9801403c6c17b0da623ed2 100644 |
| --- a/src/x64/lithium-x64.cc |
| +++ b/src/x64/lithium-x64.cc |
| @@ -1092,6 +1092,14 @@ LInstruction* LChunkBuilder::DoInstanceOfKnownGlobal( |
| } |
| +LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { |
| + LOperand* receiver = UseRegisterAtStart(instr->receiver()); |
|
fschneider
2012/03/12 10:13:32
I think it does not matter with DefineSameAsFirst,
|
| + LOperand* function = UseRegisterAtStart(instr->function()); |
| + LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); |
| + return AssignEnvironment(DefineSameAsFirst(result)); |
| +} |
| + |
| + |
| LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) { |
| LOperand* function = UseFixed(instr->function(), rdi); |
| LOperand* receiver = UseFixed(instr->receiver(), rax); |