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 4493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4504 UNIMPLEMENTED(); | 4504 UNIMPLEMENTED(); |
4505 return NULL; | 4505 return NULL; |
4506 } | 4506 } |
4507 | 4507 |
4508 | 4508 |
4509 void UnaryMintOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 4509 void UnaryMintOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
4510 UNIMPLEMENTED(); | 4510 UNIMPLEMENTED(); |
4511 } | 4511 } |
4512 | 4512 |
4513 | 4513 |
| 4514 CompileType BinaryUint32OpInstr::ComputeType() const { |
| 4515 return CompileType::Int(); |
| 4516 } |
| 4517 |
| 4518 |
| 4519 CompileType ShiftUint32OpInstr::ComputeType() const { |
| 4520 return CompileType::Int(); |
| 4521 } |
| 4522 |
| 4523 |
| 4524 CompileType UnaryUint32OpInstr::ComputeType() const { |
| 4525 return CompileType::Int(); |
| 4526 } |
| 4527 |
| 4528 |
| 4529 CompileType BoxUint32Instr::ComputeType() const { |
| 4530 return CompileType::Int(); |
| 4531 } |
| 4532 |
| 4533 |
| 4534 CompileType UnboxUint32Instr::ComputeType() const { |
| 4535 return CompileType::Int(); |
| 4536 } |
| 4537 |
| 4538 |
| 4539 LocationSummary* BinaryUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 4540 bool opt) const { |
| 4541 UNIMPLEMENTED(); |
| 4542 return NULL; |
| 4543 } |
| 4544 |
| 4545 |
| 4546 void BinaryUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4547 UNIMPLEMENTED(); |
| 4548 } |
| 4549 |
| 4550 |
| 4551 LocationSummary* ShiftUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 4552 bool opt) const { |
| 4553 UNIMPLEMENTED(); |
| 4554 return NULL; |
| 4555 } |
| 4556 |
| 4557 |
| 4558 void ShiftUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4559 UNIMPLEMENTED(); |
| 4560 } |
| 4561 |
| 4562 |
| 4563 LocationSummary* UnaryUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 4564 bool opt) const { |
| 4565 UNIMPLEMENTED(); |
| 4566 return NULL; |
| 4567 } |
| 4568 |
| 4569 |
| 4570 void UnaryUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4571 UNIMPLEMENTED(); |
| 4572 } |
| 4573 |
| 4574 |
| 4575 LocationSummary* UnboxUint32Instr::MakeLocationSummary(Isolate* isolate, |
| 4576 bool opt) const { |
| 4577 UNIMPLEMENTED(); |
| 4578 return NULL; |
| 4579 } |
| 4580 |
| 4581 |
| 4582 void UnboxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4583 UNIMPLEMENTED(); |
| 4584 } |
| 4585 |
| 4586 |
| 4587 LocationSummary* BoxUint32Instr::MakeLocationSummary(Isolate* isolate, |
| 4588 bool opt) const { |
| 4589 UNIMPLEMENTED(); |
| 4590 return NULL; |
| 4591 } |
| 4592 |
| 4593 |
| 4594 void BoxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4595 UNIMPLEMENTED(); |
| 4596 } |
| 4597 |
| 4598 |
| 4599 LocationSummary* UnboxedIntConverterInstr::MakeLocationSummary(Isolate* isolate, |
| 4600 bool opt) const { |
| 4601 UNIMPLEMENTED(); |
| 4602 return NULL; |
| 4603 } |
| 4604 |
| 4605 |
| 4606 void UnboxedIntConverterInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4607 UNIMPLEMENTED(); |
| 4608 } |
| 4609 |
| 4610 |
4514 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate, | 4611 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate, |
4515 bool opt) const { | 4612 bool opt) const { |
4516 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall); | 4613 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall); |
4517 } | 4614 } |
4518 | 4615 |
4519 | 4616 |
4520 | 4617 |
4521 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 4618 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
4522 compiler->GenerateRuntimeCall(token_pos(), | 4619 compiler->GenerateRuntimeCall(token_pos(), |
4523 deopt_id(), | 4620 deopt_id(), |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4752 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); | 4849 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); |
4753 #if defined(DEBUG) | 4850 #if defined(DEBUG) |
4754 __ LoadImmediate(S4, kInvalidObjectPointer); | 4851 __ LoadImmediate(S4, kInvalidObjectPointer); |
4755 __ LoadImmediate(S5, kInvalidObjectPointer); | 4852 __ LoadImmediate(S5, kInvalidObjectPointer); |
4756 #endif | 4853 #endif |
4757 } | 4854 } |
4758 | 4855 |
4759 } // namespace dart | 4856 } // namespace dart |
4760 | 4857 |
4761 #endif // defined TARGET_ARCH_MIPS | 4858 #endif // defined TARGET_ARCH_MIPS |
OLD | NEW |