| 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 2556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2567 } | 2567 } |
| 2568 | 2568 |
| 2569 | 2569 |
| 2570 LInstruction* LChunkBuilder::DoCallStub(HCallStub* instr) { | 2570 LInstruction* LChunkBuilder::DoCallStub(HCallStub* instr) { |
| 2571 LOperand* context = UseFixed(instr->context(), esi); | 2571 LOperand* context = UseFixed(instr->context(), esi); |
| 2572 LCallStub* result = new(zone()) LCallStub(context); | 2572 LCallStub* result = new(zone()) LCallStub(context); |
| 2573 return MarkAsCall(DefineFixed(result, eax), instr); | 2573 return MarkAsCall(DefineFixed(result, eax), instr); |
| 2574 } | 2574 } |
| 2575 | 2575 |
| 2576 | 2576 |
| 2577 LInstruction* LChunkBuilder::DoCallExternal(HCallExternal* instr) { |
| 2578 return MarkAsCall(new(zone()) LCallExternal(), instr); |
| 2579 } |
| 2580 |
| 2581 |
| 2577 LInstruction* LChunkBuilder::DoArgumentsObject(HArgumentsObject* instr) { | 2582 LInstruction* LChunkBuilder::DoArgumentsObject(HArgumentsObject* instr) { |
| 2578 // There are no real uses of the arguments object. | 2583 // There are no real uses of the arguments object. |
| 2579 // arguments.length and element access are supported directly on | 2584 // arguments.length and element access are supported directly on |
| 2580 // stack arguments, and any real arguments object use causes a bailout. | 2585 // stack arguments, and any real arguments object use causes a bailout. |
| 2581 // So this value is never used. | 2586 // So this value is never used. |
| 2582 return NULL; | 2587 return NULL; |
| 2583 } | 2588 } |
| 2584 | 2589 |
| 2585 | 2590 |
| 2586 LInstruction* LChunkBuilder::DoCapturedObject(HCapturedObject* instr) { | 2591 LInstruction* LChunkBuilder::DoCapturedObject(HCapturedObject* instr) { |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2732 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2737 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2733 LOperand* object = UseRegister(instr->object()); | 2738 LOperand* object = UseRegister(instr->object()); |
| 2734 LOperand* index = UseTempRegister(instr->index()); | 2739 LOperand* index = UseTempRegister(instr->index()); |
| 2735 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2740 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); |
| 2736 } | 2741 } |
| 2737 | 2742 |
| 2738 | 2743 |
| 2739 } } // namespace v8::internal | 2744 } } // namespace v8::internal |
| 2740 | 2745 |
| 2741 #endif // V8_TARGET_ARCH_IA32 | 2746 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |