OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 "v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "lithium-allocator-inl.h" | 7 #include "src/lithium-allocator-inl.h" |
8 #include "arm64/lithium-arm64.h" | 8 #include "src/arm64/lithium-arm64.h" |
9 #include "arm64/lithium-codegen-arm64.h" | 9 #include "src/arm64/lithium-codegen-arm64.h" |
10 #include "hydrogen-osr.h" | 10 #include "src/hydrogen-osr.h" |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 | 15 |
16 #define DEFINE_COMPILE(type) \ | 16 #define DEFINE_COMPILE(type) \ |
17 void L##type::CompileToNative(LCodeGen* generator) { \ | 17 void L##type::CompileToNative(LCodeGen* generator) { \ |
18 generator->Do##type(this); \ | 18 generator->Do##type(this); \ |
19 } | 19 } |
20 LITHIUM_CONCRETE_INSTRUCTION_LIST(DEFINE_COMPILE) | 20 LITHIUM_CONCRETE_INSTRUCTION_LIST(DEFINE_COMPILE) |
(...skipping 2679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2700 | 2700 |
2701 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { | 2701 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { |
2702 LOperand* receiver = UseRegister(instr->receiver()); | 2702 LOperand* receiver = UseRegister(instr->receiver()); |
2703 LOperand* function = UseRegister(instr->function()); | 2703 LOperand* function = UseRegister(instr->function()); |
2704 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); | 2704 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); |
2705 return AssignEnvironment(DefineAsRegister(result)); | 2705 return AssignEnvironment(DefineAsRegister(result)); |
2706 } | 2706 } |
2707 | 2707 |
2708 | 2708 |
2709 } } // namespace v8::internal | 2709 } } // namespace v8::internal |
OLD | NEW |