OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #include "src/hydrogen-osr.h" | 9 #include "src/hydrogen-osr.h" |
10 #include "src/lithium-inl.h" | 10 #include "src/lithium-inl.h" |
(...skipping 2602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2613 | 2613 |
2614 | 2614 |
2615 LInstruction* LChunkBuilder::DoAllocateBlockContext( | 2615 LInstruction* LChunkBuilder::DoAllocateBlockContext( |
2616 HAllocateBlockContext* instr) { | 2616 HAllocateBlockContext* instr) { |
2617 LOperand* context = UseFixed(instr->context(), cp); | 2617 LOperand* context = UseFixed(instr->context(), cp); |
2618 LOperand* function = UseRegisterAtStart(instr->function()); | 2618 LOperand* function = UseRegisterAtStart(instr->function()); |
2619 LAllocateBlockContext* result = | 2619 LAllocateBlockContext* result = |
2620 new (zone()) LAllocateBlockContext(context, function); | 2620 new (zone()) LAllocateBlockContext(context, function); |
2621 return MarkAsCall(DefineFixed(result, cp), instr); | 2621 return MarkAsCall(DefineFixed(result, cp), instr); |
2622 } | 2622 } |
2623 } | 2623 } // namespace internal |
2624 } // namespace v8::internal | 2624 } // namespace v8 |
OLD | NEW |