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 "src/crankshaft/arm64/lithium-arm64.h" | 5 #include "src/crankshaft/arm64/lithium-arm64.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include "src/crankshaft/arm64/lithium-codegen-arm64.h" | 9 #include "src/crankshaft/arm64/lithium-codegen-arm64.h" |
10 #include "src/crankshaft/hydrogen-osr.h" | 10 #include "src/crankshaft/hydrogen-osr.h" |
(...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1077 return MarkAsCall(DefineFixed(result, x0), instr); | 1077 return MarkAsCall(DefineFixed(result, x0), instr); |
1078 } | 1078 } |
1079 | 1079 |
1080 | 1080 |
1081 LInstruction* LChunkBuilder::DoCallRuntime(HCallRuntime* instr) { | 1081 LInstruction* LChunkBuilder::DoCallRuntime(HCallRuntime* instr) { |
1082 LOperand* context = UseFixed(instr->context(), cp); | 1082 LOperand* context = UseFixed(instr->context(), cp); |
1083 return MarkAsCall(DefineFixed(new(zone()) LCallRuntime(context), x0), instr); | 1083 return MarkAsCall(DefineFixed(new(zone()) LCallRuntime(context), x0), instr); |
1084 } | 1084 } |
1085 | 1085 |
1086 | 1086 |
1087 LInstruction* LChunkBuilder::DoCallStub(HCallStub* instr) { | |
1088 LOperand* context = UseFixed(instr->context(), cp); | |
1089 return MarkAsCall(DefineFixed(new(zone()) LCallStub(context), x0), instr); | |
1090 } | |
1091 | |
1092 | |
1093 LInstruction* LChunkBuilder::DoCapturedObject(HCapturedObject* instr) { | 1087 LInstruction* LChunkBuilder::DoCapturedObject(HCapturedObject* instr) { |
1094 instr->ReplayEnvironment(current_block_->last_environment()); | 1088 instr->ReplayEnvironment(current_block_->last_environment()); |
1095 | 1089 |
1096 // There are no real uses of a captured object. | 1090 // There are no real uses of a captured object. |
1097 return NULL; | 1091 return NULL; |
1098 } | 1092 } |
1099 | 1093 |
1100 | 1094 |
1101 LInstruction* LChunkBuilder::DoChange(HChange* instr) { | 1095 LInstruction* LChunkBuilder::DoChange(HChange* instr) { |
1102 Representation from = instr->from(); | 1096 Representation from = instr->from(); |
(...skipping 1606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2709 LOperand* context = UseFixed(instr->context(), cp); | 2703 LOperand* context = UseFixed(instr->context(), cp); |
2710 LOperand* function = UseRegisterAtStart(instr->function()); | 2704 LOperand* function = UseRegisterAtStart(instr->function()); |
2711 LAllocateBlockContext* result = | 2705 LAllocateBlockContext* result = |
2712 new(zone()) LAllocateBlockContext(context, function); | 2706 new(zone()) LAllocateBlockContext(context, function); |
2713 return MarkAsCall(DefineFixed(result, cp), instr); | 2707 return MarkAsCall(DefineFixed(result, cp), instr); |
2714 } | 2708 } |
2715 | 2709 |
2716 | 2710 |
2717 } // namespace internal | 2711 } // namespace internal |
2718 } // namespace v8 | 2712 } // namespace v8 |
OLD | NEW |