| 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" | |
| 8 | |
| 9 #include "src/arm/lithium-codegen-arm.h" | 7 #include "src/arm/lithium-codegen-arm.h" |
| 10 #include "src/hydrogen-osr.h" | 8 #include "src/hydrogen-osr.h" |
| 11 #include "src/lithium-inl.h" | 9 #include "src/lithium-inl.h" |
| 12 | 10 |
| 13 namespace v8 { | 11 namespace v8 { |
| 14 namespace internal { | 12 namespace internal { |
| 15 | 13 |
| 16 #define DEFINE_COMPILE(type) \ | 14 #define DEFINE_COMPILE(type) \ |
| 17 void L##type::CompileToNative(LCodeGen* generator) { \ | 15 void L##type::CompileToNative(LCodeGen* generator) { \ |
| 18 generator->Do##type(this); \ | 16 generator->Do##type(this); \ |
| (...skipping 2699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2718 HAllocateBlockContext* instr) { | 2716 HAllocateBlockContext* instr) { |
| 2719 LOperand* context = UseFixed(instr->context(), cp); | 2717 LOperand* context = UseFixed(instr->context(), cp); |
| 2720 LOperand* function = UseRegisterAtStart(instr->function()); | 2718 LOperand* function = UseRegisterAtStart(instr->function()); |
| 2721 LAllocateBlockContext* result = | 2719 LAllocateBlockContext* result = |
| 2722 new(zone()) LAllocateBlockContext(context, function); | 2720 new(zone()) LAllocateBlockContext(context, function); |
| 2723 return MarkAsCall(DefineFixed(result, cp), instr); | 2721 return MarkAsCall(DefineFixed(result, cp), instr); |
| 2724 } | 2722 } |
| 2725 | 2723 |
| 2726 } // namespace internal | 2724 } // namespace internal |
| 2727 } // namespace v8 | 2725 } // namespace v8 |
| OLD | NEW |