| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/x87/lithium-x87.h" | 5 #include "src/x87/lithium-x87.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #if V8_TARGET_ARCH_X87 | 9 #if V8_TARGET_ARCH_X87 |
| 10 | 10 |
| (...skipping 2524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2535 } | 2535 } |
| 2536 | 2536 |
| 2537 | 2537 |
| 2538 LInstruction* LChunkBuilder::DoRegExpLiteral(HRegExpLiteral* instr) { | 2538 LInstruction* LChunkBuilder::DoRegExpLiteral(HRegExpLiteral* instr) { |
| 2539 LOperand* context = UseFixed(instr->context(), esi); | 2539 LOperand* context = UseFixed(instr->context(), esi); |
| 2540 return MarkAsCall( | 2540 return MarkAsCall( |
| 2541 DefineFixed(new(zone()) LRegExpLiteral(context), eax), instr); | 2541 DefineFixed(new(zone()) LRegExpLiteral(context), eax), instr); |
| 2542 } | 2542 } |
| 2543 | 2543 |
| 2544 | 2544 |
| 2545 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) { | |
| 2546 LOperand* context = UseFixed(instr->context(), esi); | |
| 2547 return MarkAsCall( | |
| 2548 DefineFixed(new(zone()) LFunctionLiteral(context), eax), instr); | |
| 2549 } | |
| 2550 | |
| 2551 | |
| 2552 LInstruction* LChunkBuilder::DoOsrEntry(HOsrEntry* instr) { | 2545 LInstruction* LChunkBuilder::DoOsrEntry(HOsrEntry* instr) { |
| 2553 DCHECK(argument_count_ == 0); | 2546 DCHECK(argument_count_ == 0); |
| 2554 allocator_->MarkAsOsrEntry(); | 2547 allocator_->MarkAsOsrEntry(); |
| 2555 current_block_->last_environment()->set_ast_id(instr->ast_id()); | 2548 current_block_->last_environment()->set_ast_id(instr->ast_id()); |
| 2556 return AssignEnvironment(new(zone()) LOsrEntry); | 2549 return AssignEnvironment(new(zone()) LOsrEntry); |
| 2557 } | 2550 } |
| 2558 | 2551 |
| 2559 | 2552 |
| 2560 LInstruction* LChunkBuilder::DoParameter(HParameter* instr) { | 2553 LInstruction* LChunkBuilder::DoParameter(HParameter* instr) { |
| 2561 LParameter* result = new(zone()) LParameter; | 2554 LParameter* result = new(zone()) LParameter; |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2765 LAllocateBlockContext* result = | 2758 LAllocateBlockContext* result = |
| 2766 new(zone()) LAllocateBlockContext(context, function); | 2759 new(zone()) LAllocateBlockContext(context, function); |
| 2767 return MarkAsCall(DefineFixed(result, esi), instr); | 2760 return MarkAsCall(DefineFixed(result, esi), instr); |
| 2768 } | 2761 } |
| 2769 | 2762 |
| 2770 | 2763 |
| 2771 } // namespace internal | 2764 } // namespace internal |
| 2772 } // namespace v8 | 2765 } // namespace v8 |
| 2773 | 2766 |
| 2774 #endif // V8_TARGET_ARCH_X87 | 2767 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |