OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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_ARM. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. |
6 #if defined(TARGET_ARCH_ARM) | 6 #if defined(TARGET_ARCH_ARM) |
7 | 7 |
8 #include "vm/intermediate_language.h" | 8 #include "vm/intermediate_language.h" |
9 | 9 |
10 #include "vm/cpu.h" | 10 #include "vm/cpu.h" |
(...skipping 6193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6204 deopt = compiler->AddDeoptStub(deopt_id(), ICData::kDeoptUnaryMintOp); | 6204 deopt = compiler->AddDeoptStub(deopt_id(), ICData::kDeoptUnaryMintOp); |
6205 } | 6205 } |
6206 __ mvn(out_lo, Operand(left_lo)); | 6206 __ mvn(out_lo, Operand(left_lo)); |
6207 __ mvn(out_hi, Operand(left_hi)); | 6207 __ mvn(out_hi, Operand(left_hi)); |
6208 if (FLAG_throw_on_javascript_int_overflow) { | 6208 if (FLAG_throw_on_javascript_int_overflow) { |
6209 EmitJavascriptIntOverflowCheck(compiler, deopt, out_lo, out_hi); | 6209 EmitJavascriptIntOverflowCheck(compiler, deopt, out_lo, out_hi); |
6210 } | 6210 } |
6211 } | 6211 } |
6212 | 6212 |
6213 | 6213 |
| 6214 LocationSummary* BinaryUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 6215 bool opt) const { |
| 6216 UNIMPLEMENTED(); |
| 6217 return NULL; |
| 6218 } |
| 6219 |
| 6220 |
| 6221 void BinaryUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 6222 } |
| 6223 |
| 6224 |
| 6225 LocationSummary* ShiftUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 6226 bool opt) const { |
| 6227 UNIMPLEMENTED(); |
| 6228 return NULL; |
| 6229 } |
| 6230 |
| 6231 |
| 6232 void ShiftUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 6233 } |
| 6234 |
| 6235 |
| 6236 LocationSummary* UnaryUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 6237 bool opt) const { |
| 6238 UNIMPLEMENTED(); |
| 6239 return NULL; |
| 6240 } |
| 6241 |
| 6242 |
| 6243 void UnaryUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 6244 } |
| 6245 |
| 6246 |
| 6247 LocationSummary* UnboxUint32Instr::MakeLocationSummary(Isolate* isolate, |
| 6248 bool opt) const { |
| 6249 UNIMPLEMENTED(); |
| 6250 return NULL; |
| 6251 } |
| 6252 |
| 6253 |
| 6254 void UnboxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 6255 } |
| 6256 |
| 6257 |
| 6258 LocationSummary* BoxUint32Instr::MakeLocationSummary(Isolate* isolate, |
| 6259 bool opt) const { |
| 6260 UNIMPLEMENTED(); |
| 6261 return NULL; |
| 6262 } |
| 6263 |
| 6264 |
| 6265 void BoxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 6266 } |
| 6267 |
| 6268 |
6214 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate, | 6269 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate, |
6215 bool opt) const { | 6270 bool opt) const { |
6216 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall); | 6271 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall); |
6217 } | 6272 } |
6218 | 6273 |
6219 | 6274 |
6220 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 6275 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
6221 compiler->GenerateRuntimeCall(token_pos(), | 6276 compiler->GenerateRuntimeCall(token_pos(), |
6222 deopt_id(), | 6277 deopt_id(), |
6223 kThrowRuntimeEntry, | 6278 kThrowRuntimeEntry, |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6435 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); | 6490 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); |
6436 #if defined(DEBUG) | 6491 #if defined(DEBUG) |
6437 __ LoadImmediate(R4, kInvalidObjectPointer); | 6492 __ LoadImmediate(R4, kInvalidObjectPointer); |
6438 __ LoadImmediate(R5, kInvalidObjectPointer); | 6493 __ LoadImmediate(R5, kInvalidObjectPointer); |
6439 #endif | 6494 #endif |
6440 } | 6495 } |
6441 | 6496 |
6442 } // namespace dart | 6497 } // namespace dart |
6443 | 6498 |
6444 #endif // defined TARGET_ARCH_ARM | 6499 #endif // defined TARGET_ARCH_ARM |
OLD | NEW |