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_X64. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64. |
6 #if defined(TARGET_ARCH_X64) | 6 #if defined(TARGET_ARCH_X64) |
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 5566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5577 UNIMPLEMENTED(); | 5577 UNIMPLEMENTED(); |
5578 return NULL; | 5578 return NULL; |
5579 } | 5579 } |
5580 | 5580 |
5581 | 5581 |
5582 void ShiftMintOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 5582 void ShiftMintOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
5583 UNIMPLEMENTED(); | 5583 UNIMPLEMENTED(); |
5584 } | 5584 } |
5585 | 5585 |
5586 | 5586 |
| 5587 CompileType BinaryUint32OpInstr::ComputeType() const { |
| 5588 return CompileType::FromCid(kSmiCid); |
| 5589 } |
| 5590 |
| 5591 |
| 5592 CompileType ShiftUint32OpInstr::ComputeType() const { |
| 5593 return CompileType::FromCid(kSmiCid); |
| 5594 } |
| 5595 |
| 5596 |
| 5597 CompileType UnaryUint32OpInstr::ComputeType() const { |
| 5598 return CompileType::FromCid(kSmiCid); |
| 5599 } |
| 5600 |
| 5601 |
| 5602 CompileType BoxUint32Instr::ComputeType() const { |
| 5603 return CompileType::FromCid(kSmiCid); |
| 5604 } |
| 5605 |
| 5606 |
| 5607 CompileType UnboxUint32Instr::ComputeType() const { |
| 5608 return CompileType::FromCid(kSmiCid); |
| 5609 } |
| 5610 |
| 5611 |
| 5612 LocationSummary* BinaryUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 5613 bool opt) const { |
| 5614 UNIMPLEMENTED(); |
| 5615 return NULL; |
| 5616 } |
| 5617 |
| 5618 |
| 5619 void BinaryUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5620 UNIMPLEMENTED(); |
| 5621 } |
| 5622 |
| 5623 |
| 5624 LocationSummary* ShiftUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 5625 bool opt) const { |
| 5626 UNIMPLEMENTED(); |
| 5627 return NULL; |
| 5628 } |
| 5629 |
| 5630 |
| 5631 void ShiftUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5632 UNIMPLEMENTED(); |
| 5633 } |
| 5634 |
| 5635 |
| 5636 LocationSummary* UnaryUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 5637 bool opt) const { |
| 5638 UNIMPLEMENTED(); |
| 5639 return NULL; |
| 5640 } |
| 5641 |
| 5642 |
| 5643 void UnaryUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5644 UNIMPLEMENTED(); |
| 5645 } |
| 5646 |
| 5647 |
| 5648 LocationSummary* UnboxUint32Instr::MakeLocationSummary(Isolate* isolate, |
| 5649 bool opt) const { |
| 5650 UNIMPLEMENTED(); |
| 5651 return NULL; |
| 5652 } |
| 5653 |
| 5654 |
| 5655 void UnboxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5656 UNIMPLEMENTED(); |
| 5657 } |
| 5658 |
| 5659 |
| 5660 LocationSummary* BoxUint32Instr::MakeLocationSummary(Isolate* isolate, |
| 5661 bool opt) const { |
| 5662 UNIMPLEMENTED(); |
| 5663 return NULL; |
| 5664 } |
| 5665 |
| 5666 |
| 5667 void BoxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5668 UNIMPLEMENTED(); |
| 5669 } |
| 5670 |
| 5671 |
| 5672 LocationSummary* UnboxedIntConverterInstr::MakeLocationSummary(Isolate* isolate, |
| 5673 bool opt) const { |
| 5674 UNIMPLEMENTED(); |
| 5675 return NULL; |
| 5676 } |
| 5677 |
| 5678 |
| 5679 void UnboxedIntConverterInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5680 UNIMPLEMENTED(); |
| 5681 } |
| 5682 |
| 5683 |
5587 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate, | 5684 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate, |
5588 bool opt) const { | 5685 bool opt) const { |
5589 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall); | 5686 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall); |
5590 } | 5687 } |
5591 | 5688 |
5592 | 5689 |
5593 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 5690 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
5594 compiler->GenerateRuntimeCall(token_pos(), | 5691 compiler->GenerateRuntimeCall(token_pos(), |
5595 deopt_id(), | 5692 deopt_id(), |
5596 kThrowRuntimeEntry, | 5693 kThrowRuntimeEntry, |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5874 __ movq(R10, Immediate(kInvalidObjectPointer)); | 5971 __ movq(R10, Immediate(kInvalidObjectPointer)); |
5875 __ movq(RBX, Immediate(kInvalidObjectPointer)); | 5972 __ movq(RBX, Immediate(kInvalidObjectPointer)); |
5876 #endif | 5973 #endif |
5877 } | 5974 } |
5878 | 5975 |
5879 } // namespace dart | 5976 } // namespace dart |
5880 | 5977 |
5881 #undef __ | 5978 #undef __ |
5882 | 5979 |
5883 #endif // defined TARGET_ARCH_X64 | 5980 #endif // defined TARGET_ARCH_X64 |
OLD | NEW |