| 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 2409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2420 return DefineAsSpilled(new(zone()) LUnknownOSRValue, spill_index); | 2420 return DefineAsSpilled(new(zone()) LUnknownOSRValue, spill_index); |
| 2421 } | 2421 } |
| 2422 | 2422 |
| 2423 | 2423 |
| 2424 LInstruction* LChunkBuilder::DoCallStub(HCallStub* instr) { | 2424 LInstruction* LChunkBuilder::DoCallStub(HCallStub* instr) { |
| 2425 LOperand* context = UseFixed(instr->context(), cp); | 2425 LOperand* context = UseFixed(instr->context(), cp); |
| 2426 return MarkAsCall(DefineFixed(new(zone()) LCallStub(context), v0), instr); | 2426 return MarkAsCall(DefineFixed(new(zone()) LCallStub(context), v0), instr); |
| 2427 } | 2427 } |
| 2428 | 2428 |
| 2429 | 2429 |
| 2430 LInstruction* LChunkBuilder::DoCallExternal(HCallExternal* instr) { |
| 2431 return MarkAsCall(new(zone()) LCallExternal(), instr); |
| 2432 } |
| 2433 |
| 2434 |
| 2430 LInstruction* LChunkBuilder::DoArgumentsObject(HArgumentsObject* instr) { | 2435 LInstruction* LChunkBuilder::DoArgumentsObject(HArgumentsObject* instr) { |
| 2431 // There are no real uses of the arguments object. | 2436 // There are no real uses of the arguments object. |
| 2432 // arguments.length and element access are supported directly on | 2437 // arguments.length and element access are supported directly on |
| 2433 // stack arguments, and any real arguments object use causes a bailout. | 2438 // stack arguments, and any real arguments object use causes a bailout. |
| 2434 // So this value is never used. | 2439 // So this value is never used. |
| 2435 return NULL; | 2440 return NULL; |
| 2436 } | 2441 } |
| 2437 | 2442 |
| 2438 | 2443 |
| 2439 LInstruction* LChunkBuilder::DoCapturedObject(HCapturedObject* instr) { | 2444 LInstruction* LChunkBuilder::DoCapturedObject(HCapturedObject* instr) { |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2580 | 2585 |
| 2581 | 2586 |
| 2582 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2587 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2583 LOperand* object = UseRegister(instr->object()); | 2588 LOperand* object = UseRegister(instr->object()); |
| 2584 LOperand* index = UseRegister(instr->index()); | 2589 LOperand* index = UseRegister(instr->index()); |
| 2585 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2590 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2586 } | 2591 } |
| 2587 | 2592 |
| 2588 | 2593 |
| 2589 } } // namespace v8::internal | 2594 } } // namespace v8::internal |
| OLD | NEW |