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 UNIMPLEMENTED(); |
| 4506 } |
| 4507 |
| 4508 |
| 4509 LocationSummary* ShiftUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 4510 bool opt) const { |
| 4511 UNIMPLEMENTED(); |
| 4512 return NULL; |
| 4513 } |
| 4514 |
| 4515 |
| 4516 void ShiftUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4517 UNIMPLEMENTED(); |
| 4518 } |
| 4519 |
| 4520 |
| 4521 LocationSummary* UnaryUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 4522 bool opt) const { |
| 4523 UNIMPLEMENTED(); |
| 4524 return NULL; |
| 4525 } |
| 4526 |
| 4527 |
| 4528 void UnaryUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4529 UNIMPLEMENTED(); |
| 4530 } |
| 4531 |
| 4532 |
| 4533 LocationSummary* UnboxUint32Instr::MakeLocationSummary(Isolate* isolate, |
| 4534 bool opt) const { |
| 4535 UNIMPLEMENTED(); |
| 4536 return NULL; |
| 4537 } |
| 4538 |
| 4539 |
| 4540 void UnboxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4541 UNIMPLEMENTED(); |
| 4542 } |
| 4543 |
| 4544 |
| 4545 LocationSummary* BoxUint32Instr::MakeLocationSummary(Isolate* isolate, |
| 4546 bool opt) const { |
| 4547 UNIMPLEMENTED(); |
| 4548 return NULL; |
| 4549 } |
| 4550 |
| 4551 |
| 4552 void BoxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4553 UNIMPLEMENTED(); |
| 4554 } |
| 4555 |
| 4556 |
| 4557 LocationSummary* UnboxedIntConverterInstr::MakeLocationSummary(Isolate* isolate, |
| 4558 bool opt) const { |
| 4559 UNIMPLEMENTED(); |
| 4560 return NULL; |
| 4561 } |
| 4562 |
| 4563 |
| 4564 void UnboxedIntConverterInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4565 UNIMPLEMENTED(); |
| 4566 } |
| 4567 |
| 4568 |
4472 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate, | 4569 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate, |
4473 bool opt) const { | 4570 bool opt) const { |
4474 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall); | 4571 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall); |
4475 } | 4572 } |
4476 | 4573 |
4477 | 4574 |
4478 | 4575 |
4479 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 4576 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
4480 compiler->GenerateRuntimeCall(token_pos(), | 4577 compiler->GenerateRuntimeCall(token_pos(), |
4481 deopt_id(), | 4578 deopt_id(), |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4710 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); | 4807 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); |
4711 #if defined(DEBUG) | 4808 #if defined(DEBUG) |
4712 __ LoadImmediate(S4, kInvalidObjectPointer); | 4809 __ LoadImmediate(S4, kInvalidObjectPointer); |
4713 __ LoadImmediate(S5, kInvalidObjectPointer); | 4810 __ LoadImmediate(S5, kInvalidObjectPointer); |
4714 #endif | 4811 #endif |
4715 } | 4812 } |
4716 | 4813 |
4717 } // namespace dart | 4814 } // namespace dart |
4718 | 4815 |
4719 #endif // defined TARGET_ARCH_MIPS | 4816 #endif // defined TARGET_ARCH_MIPS |
OLD | NEW |