| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 2464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2475 | 2475 |
| 2476 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2476 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2477 LOperand* object = UseRegisterAtStart(instr->object()); | 2477 LOperand* object = UseRegisterAtStart(instr->object()); |
| 2478 LOperand* index = UseRegister(instr->index()); | 2478 LOperand* index = UseRegister(instr->index()); |
| 2479 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2479 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2480 } | 2480 } |
| 2481 | 2481 |
| 2482 | 2482 |
| 2483 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { | 2483 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { |
| 2484 LOperand* receiver = UseRegister(instr->receiver()); | 2484 LOperand* receiver = UseRegister(instr->receiver()); |
| 2485 LOperand* function = UseRegisterAtStart(instr->function()); | 2485 LOperand* function = UseRegister(instr->function()); |
| 2486 LOperand* temp = TempRegister(); | 2486 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); |
| 2487 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function, temp); | |
| 2488 return AssignEnvironment(DefineAsRegister(result)); | 2487 return AssignEnvironment(DefineAsRegister(result)); |
| 2489 } | 2488 } |
| 2490 | 2489 |
| 2491 | 2490 |
| 2492 } } // namespace v8::internal | 2491 } } // namespace v8::internal |
| OLD | NEW |