| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 2487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2498 return DefineAsSpilled(new(zone()) LUnknownOSRValue, spill_index); | 2498 return DefineAsSpilled(new(zone()) LUnknownOSRValue, spill_index); |
| 2499 } | 2499 } |
| 2500 | 2500 |
| 2501 | 2501 |
| 2502 LInstruction* LChunkBuilder::DoCallStub(HCallStub* instr) { | 2502 LInstruction* LChunkBuilder::DoCallStub(HCallStub* instr) { |
| 2503 LOperand* context = UseFixed(instr->context(), cp); | 2503 LOperand* context = UseFixed(instr->context(), cp); |
| 2504 return MarkAsCall(DefineFixed(new(zone()) LCallStub(context), r0), instr); | 2504 return MarkAsCall(DefineFixed(new(zone()) LCallStub(context), r0), instr); |
| 2505 } | 2505 } |
| 2506 | 2506 |
| 2507 | 2507 |
| 2508 LInstruction* LChunkBuilder::DoCallExternal(HCallExternal* instr) { |
| 2509 return MarkAsCall(new(zone()) LCallExternal(), instr); |
| 2510 } |
| 2511 |
| 2512 |
| 2508 LInstruction* LChunkBuilder::DoArgumentsObject(HArgumentsObject* instr) { | 2513 LInstruction* LChunkBuilder::DoArgumentsObject(HArgumentsObject* instr) { |
| 2509 // There are no real uses of the arguments object. | 2514 // There are no real uses of the arguments object. |
| 2510 // arguments.length and element access are supported directly on | 2515 // arguments.length and element access are supported directly on |
| 2511 // stack arguments, and any real arguments object use causes a bailout. | 2516 // stack arguments, and any real arguments object use causes a bailout. |
| 2512 // So this value is never used. | 2517 // So this value is never used. |
| 2513 return NULL; | 2518 return NULL; |
| 2514 } | 2519 } |
| 2515 | 2520 |
| 2516 | 2521 |
| 2517 LInstruction* LChunkBuilder::DoCapturedObject(HCapturedObject* instr) { | 2522 LInstruction* LChunkBuilder::DoCapturedObject(HCapturedObject* instr) { |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2658 | 2663 |
| 2659 | 2664 |
| 2660 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2665 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2661 LOperand* object = UseRegister(instr->object()); | 2666 LOperand* object = UseRegister(instr->object()); |
| 2662 LOperand* index = UseRegister(instr->index()); | 2667 LOperand* index = UseRegister(instr->index()); |
| 2663 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2668 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2664 } | 2669 } |
| 2665 | 2670 |
| 2666 | 2671 |
| 2667 } } // namespace v8::internal | 2672 } } // namespace v8::internal |
| OLD | NEW |