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 <sstream> | 5 #include <sstream> |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #if V8_TARGET_ARCH_X64 | 9 #if V8_TARGET_ARCH_X64 |
10 | 10 |
(...skipping 2689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2700 LInstruction* LChunkBuilder::DoAllocateBlockContext( | 2700 LInstruction* LChunkBuilder::DoAllocateBlockContext( |
2701 HAllocateBlockContext* instr) { | 2701 HAllocateBlockContext* instr) { |
2702 LOperand* context = UseFixed(instr->context(), rsi); | 2702 LOperand* context = UseFixed(instr->context(), rsi); |
2703 LOperand* function = UseRegisterAtStart(instr->function()); | 2703 LOperand* function = UseRegisterAtStart(instr->function()); |
2704 LAllocateBlockContext* result = | 2704 LAllocateBlockContext* result = |
2705 new(zone()) LAllocateBlockContext(context, function); | 2705 new(zone()) LAllocateBlockContext(context, function); |
2706 return MarkAsCall(DefineFixed(result, rsi), instr); | 2706 return MarkAsCall(DefineFixed(result, rsi), instr); |
2707 } | 2707 } |
2708 | 2708 |
2709 | 2709 |
2710 } } // namespace v8::internal | 2710 } // namespace internal |
| 2711 } // namespace v8 |
2711 | 2712 |
2712 #endif // V8_TARGET_ARCH_X64 | 2713 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |