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 UNIMPLEMENTED(); |
| 5173 } |
| 5174 |
| 5175 |
| 5176 LocationSummary* ShiftUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 5177 bool opt) const { |
| 5178 UNIMPLEMENTED(); |
| 5179 return NULL; |
| 5180 } |
| 5181 |
| 5182 |
| 5183 void ShiftUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5184 UNIMPLEMENTED(); |
| 5185 } |
| 5186 |
| 5187 |
| 5188 LocationSummary* UnaryUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 5189 bool opt) const { |
| 5190 UNIMPLEMENTED(); |
| 5191 return NULL; |
| 5192 } |
| 5193 |
| 5194 |
| 5195 void UnaryUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5196 UNIMPLEMENTED(); |
| 5197 } |
| 5198 |
| 5199 |
| 5200 LocationSummary* UnboxUint32Instr::MakeLocationSummary(Isolate* isolate, |
| 5201 bool opt) const { |
| 5202 UNIMPLEMENTED(); |
| 5203 return NULL; |
| 5204 } |
| 5205 |
| 5206 |
| 5207 void UnboxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5208 UNIMPLEMENTED(); |
| 5209 } |
| 5210 |
| 5211 |
| 5212 LocationSummary* BoxUint32Instr::MakeLocationSummary(Isolate* isolate, |
| 5213 bool opt) const { |
| 5214 UNIMPLEMENTED(); |
| 5215 return NULL; |
| 5216 } |
| 5217 |
| 5218 |
| 5219 void BoxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5220 UNIMPLEMENTED(); |
| 5221 } |
| 5222 |
| 5223 |
| 5224 LocationSummary* UnboxedIntConverterInstr::MakeLocationSummary(Isolate* isolate, |
| 5225 bool opt) const { |
| 5226 UNIMPLEMENTED(); |
| 5227 return NULL; |
| 5228 } |
| 5229 |
| 5230 |
| 5231 void UnboxedIntConverterInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5232 UNIMPLEMENTED(); |
| 5233 } |
| 5234 |
| 5235 |
5139 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate, | 5236 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate, |
5140 bool opt) const { | 5237 bool opt) const { |
5141 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall); | 5238 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall); |
5142 } | 5239 } |
5143 | 5240 |
5144 | 5241 |
5145 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 5242 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
5146 compiler->GenerateRuntimeCall(token_pos(), | 5243 compiler->GenerateRuntimeCall(token_pos(), |
5147 deopt_id(), | 5244 deopt_id(), |
5148 kThrowRuntimeEntry, | 5245 kThrowRuntimeEntry, |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5372 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); | 5469 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); |
5373 #if defined(DEBUG) | 5470 #if defined(DEBUG) |
5374 __ LoadImmediate(R4, kInvalidObjectPointer, kNoPP); | 5471 __ LoadImmediate(R4, kInvalidObjectPointer, kNoPP); |
5375 __ LoadImmediate(R5, kInvalidObjectPointer, kNoPP); | 5472 __ LoadImmediate(R5, kInvalidObjectPointer, kNoPP); |
5376 #endif | 5473 #endif |
5377 } | 5474 } |
5378 | 5475 |
5379 } // namespace dart | 5476 } // namespace dart |
5380 | 5477 |
5381 #endif // defined TARGET_ARCH_ARM64 | 5478 #endif // defined TARGET_ARCH_ARM64 |
OLD | NEW |