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_MIPS. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS. |
6 #if defined(TARGET_ARCH_MIPS) | 6 #if defined(TARGET_ARCH_MIPS) |
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 4451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4462 UNIMPLEMENTED(); | 4462 UNIMPLEMENTED(); |
4463 return NULL; | 4463 return NULL; |
4464 } | 4464 } |
4465 | 4465 |
4466 | 4466 |
4467 void UnaryMintOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 4467 void UnaryMintOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
4468 UNIMPLEMENTED(); | 4468 UNIMPLEMENTED(); |
4469 } | 4469 } |
4470 | 4470 |
4471 | 4471 |
| 4472 CompileType BinaryUint32OpInstr::ComputeType() const { |
| 4473 return CompileType::Int(); |
| 4474 } |
| 4475 |
| 4476 |
| 4477 CompileType ShiftUint32OpInstr::ComputeType() const { |
| 4478 return CompileType::Int(); |
| 4479 } |
| 4480 |
| 4481 |
| 4482 CompileType UnaryUint32OpInstr::ComputeType() const { |
| 4483 return CompileType::Int(); |
| 4484 } |
| 4485 |
| 4486 |
| 4487 CompileType BoxUint32Instr::ComputeType() const { |
| 4488 return CompileType::Int(); |
| 4489 } |
| 4490 |
| 4491 |
| 4492 CompileType UnboxUint32Instr::ComputeType() const { |
| 4493 return CompileType::Int(); |
| 4494 } |
| 4495 |
| 4496 |
| 4497 LocationSummary* BinaryUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 4498 bool opt) const { |
| 4499 UNIMPLEMENTED(); |
| 4500 return NULL; |
| 4501 } |
| 4502 |
| 4503 |
| 4504 void BinaryUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4505 } |
| 4506 |
| 4507 |
| 4508 LocationSummary* ShiftUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 4509 bool opt) const { |
| 4510 UNIMPLEMENTED(); |
| 4511 return NULL; |
| 4512 } |
| 4513 |
| 4514 |
| 4515 void ShiftUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4516 } |
| 4517 |
| 4518 |
| 4519 LocationSummary* UnaryUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 4520 bool opt) const { |
| 4521 UNIMPLEMENTED(); |
| 4522 return NULL; |
| 4523 } |
| 4524 |
| 4525 |
| 4526 void UnaryUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4527 } |
| 4528 |
| 4529 |
| 4530 LocationSummary* UnboxUint32Instr::MakeLocationSummary(Isolate* isolate, |
| 4531 bool opt) const { |
| 4532 UNIMPLEMENTED(); |
| 4533 return NULL; |
| 4534 } |
| 4535 |
| 4536 |
| 4537 void UnboxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4538 } |
| 4539 |
| 4540 |
| 4541 LocationSummary* BoxUint32Instr::MakeLocationSummary(Isolate* isolate, |
| 4542 bool opt) const { |
| 4543 UNIMPLEMENTED(); |
| 4544 return NULL; |
| 4545 } |
| 4546 |
| 4547 |
| 4548 void BoxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4549 } |
| 4550 |
| 4551 |
4472 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate, | 4552 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate, |
4473 bool opt) const { | 4553 bool opt) const { |
4474 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall); | 4554 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall); |
4475 } | 4555 } |
4476 | 4556 |
4477 | 4557 |
4478 | 4558 |
4479 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 4559 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
4480 compiler->GenerateRuntimeCall(token_pos(), | 4560 compiler->GenerateRuntimeCall(token_pos(), |
4481 deopt_id(), | 4561 deopt_id(), |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4710 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); | 4790 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); |
4711 #if defined(DEBUG) | 4791 #if defined(DEBUG) |
4712 __ LoadImmediate(S4, kInvalidObjectPointer); | 4792 __ LoadImmediate(S4, kInvalidObjectPointer); |
4713 __ LoadImmediate(S5, kInvalidObjectPointer); | 4793 __ LoadImmediate(S5, kInvalidObjectPointer); |
4714 #endif | 4794 #endif |
4715 } | 4795 } |
4716 | 4796 |
4717 } // namespace dart | 4797 } // namespace dart |
4718 | 4798 |
4719 #endif // defined TARGET_ARCH_MIPS | 4799 #endif // defined TARGET_ARCH_MIPS |
OLD | NEW |