OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64. |
6 #if defined(TARGET_ARCH_ARM64) | 6 #if defined(TARGET_ARCH_ARM64) |
7 | 7 |
8 #include "vm/intermediate_language.h" | 8 #include "vm/intermediate_language.h" |
9 | 9 |
10 #include "vm/dart_entry.h" | 10 #include "vm/dart_entry.h" |
(...skipping 5118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5129 UNIMPLEMENTED(); | 5129 UNIMPLEMENTED(); |
5130 return NULL; | 5130 return NULL; |
5131 } | 5131 } |
5132 | 5132 |
5133 | 5133 |
5134 void UnaryMintOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 5134 void UnaryMintOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
5135 UNIMPLEMENTED(); | 5135 UNIMPLEMENTED(); |
5136 } | 5136 } |
5137 | 5137 |
5138 | 5138 |
| 5139 CompileType BinaryUint32OpInstr::ComputeType() const { |
| 5140 return CompileType::FromCid(kSmiCid); |
| 5141 } |
| 5142 |
| 5143 |
| 5144 CompileType ShiftUint32OpInstr::ComputeType() const { |
| 5145 return CompileType::FromCid(kSmiCid); |
| 5146 } |
| 5147 |
| 5148 |
| 5149 CompileType UnaryUint32OpInstr::ComputeType() const { |
| 5150 return CompileType::FromCid(kSmiCid); |
| 5151 } |
| 5152 |
| 5153 |
| 5154 CompileType BoxUint32Instr::ComputeType() const { |
| 5155 return CompileType::FromCid(kSmiCid); |
| 5156 } |
| 5157 |
| 5158 |
| 5159 CompileType UnboxUint32Instr::ComputeType() const { |
| 5160 return CompileType::FromCid(kSmiCid); |
| 5161 } |
| 5162 |
| 5163 |
| 5164 LocationSummary* BinaryUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 5165 bool opt) const { |
| 5166 UNIMPLEMENTED(); |
| 5167 return NULL; |
| 5168 } |
| 5169 |
| 5170 |
| 5171 void BinaryUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5172 } |
| 5173 |
| 5174 |
| 5175 LocationSummary* ShiftUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 5176 bool opt) const { |
| 5177 UNIMPLEMENTED(); |
| 5178 return NULL; |
| 5179 } |
| 5180 |
| 5181 |
| 5182 void ShiftUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5183 } |
| 5184 |
| 5185 |
| 5186 LocationSummary* UnaryUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 5187 bool opt) const { |
| 5188 UNIMPLEMENTED(); |
| 5189 return NULL; |
| 5190 } |
| 5191 |
| 5192 |
| 5193 void UnaryUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5194 } |
| 5195 |
| 5196 |
| 5197 LocationSummary* UnboxUint32Instr::MakeLocationSummary(Isolate* isolate, |
| 5198 bool opt) const { |
| 5199 UNIMPLEMENTED(); |
| 5200 return NULL; |
| 5201 } |
| 5202 |
| 5203 |
| 5204 void UnboxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5205 } |
| 5206 |
| 5207 |
| 5208 LocationSummary* BoxUint32Instr::MakeLocationSummary(Isolate* isolate, |
| 5209 bool opt) const { |
| 5210 UNIMPLEMENTED(); |
| 5211 return NULL; |
| 5212 } |
| 5213 |
| 5214 |
| 5215 void BoxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5216 } |
| 5217 |
| 5218 |
5139 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate, | 5219 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate, |
5140 bool opt) const { | 5220 bool opt) const { |
5141 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall); | 5221 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall); |
5142 } | 5222 } |
5143 | 5223 |
5144 | 5224 |
5145 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 5225 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
5146 compiler->GenerateRuntimeCall(token_pos(), | 5226 compiler->GenerateRuntimeCall(token_pos(), |
5147 deopt_id(), | 5227 deopt_id(), |
5148 kThrowRuntimeEntry, | 5228 kThrowRuntimeEntry, |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5372 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); | 5452 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); |
5373 #if defined(DEBUG) | 5453 #if defined(DEBUG) |
5374 __ LoadImmediate(R4, kInvalidObjectPointer, kNoPP); | 5454 __ LoadImmediate(R4, kInvalidObjectPointer, kNoPP); |
5375 __ LoadImmediate(R5, kInvalidObjectPointer, kNoPP); | 5455 __ LoadImmediate(R5, kInvalidObjectPointer, kNoPP); |
5376 #endif | 5456 #endif |
5377 } | 5457 } |
5378 | 5458 |
5379 } // namespace dart | 5459 } // namespace dart |
5380 | 5460 |
5381 #endif // defined TARGET_ARCH_ARM64 | 5461 #endif // defined TARGET_ARCH_ARM64 |
OLD | NEW |