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 5554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5565 UNIMPLEMENTED(); | 5565 UNIMPLEMENTED(); |
5566 return NULL; | 5566 return NULL; |
5567 } | 5567 } |
5568 | 5568 |
5569 | 5569 |
5570 void ShiftMintOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 5570 void ShiftMintOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
5571 UNIMPLEMENTED(); | 5571 UNIMPLEMENTED(); |
5572 } | 5572 } |
5573 | 5573 |
5574 | 5574 |
| 5575 CompileType BinaryUint32OpInstr::ComputeType() const { |
| 5576 return CompileType::FromCid(kSmiCid); |
| 5577 } |
| 5578 |
| 5579 |
| 5580 CompileType ShiftUint32OpInstr::ComputeType() const { |
| 5581 return CompileType::FromCid(kSmiCid); |
| 5582 } |
| 5583 |
| 5584 |
| 5585 CompileType UnaryUint32OpInstr::ComputeType() const { |
| 5586 return CompileType::FromCid(kSmiCid); |
| 5587 } |
| 5588 |
| 5589 |
| 5590 CompileType BoxUint32Instr::ComputeType() const { |
| 5591 return CompileType::FromCid(kSmiCid); |
| 5592 } |
| 5593 |
| 5594 |
| 5595 CompileType UnboxUint32Instr::ComputeType() const { |
| 5596 return CompileType::FromCid(kSmiCid); |
| 5597 } |
| 5598 |
| 5599 |
| 5600 LocationSummary* BinaryUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 5601 bool opt) const { |
| 5602 UNIMPLEMENTED(); |
| 5603 return NULL; |
| 5604 } |
| 5605 |
| 5606 |
| 5607 void BinaryUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5608 } |
| 5609 |
| 5610 |
| 5611 LocationSummary* ShiftUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 5612 bool opt) const { |
| 5613 UNIMPLEMENTED(); |
| 5614 return NULL; |
| 5615 } |
| 5616 |
| 5617 |
| 5618 void ShiftUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5619 } |
| 5620 |
| 5621 |
| 5622 LocationSummary* UnaryUint32OpInstr::MakeLocationSummary(Isolate* isolate, |
| 5623 bool opt) const { |
| 5624 UNIMPLEMENTED(); |
| 5625 return NULL; |
| 5626 } |
| 5627 |
| 5628 |
| 5629 void UnaryUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5630 } |
| 5631 |
| 5632 |
| 5633 LocationSummary* UnboxUint32Instr::MakeLocationSummary(Isolate* isolate, |
| 5634 bool opt) const { |
| 5635 UNIMPLEMENTED(); |
| 5636 return NULL; |
| 5637 } |
| 5638 |
| 5639 |
| 5640 void UnboxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5641 } |
| 5642 |
| 5643 |
| 5644 LocationSummary* BoxUint32Instr::MakeLocationSummary(Isolate* isolate, |
| 5645 bool opt) const { |
| 5646 UNIMPLEMENTED(); |
| 5647 return NULL; |
| 5648 } |
| 5649 |
| 5650 |
| 5651 void BoxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5652 } |
| 5653 |
| 5654 |
5575 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate, | 5655 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate, |
5576 bool opt) const { | 5656 bool opt) const { |
5577 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall); | 5657 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall); |
5578 } | 5658 } |
5579 | 5659 |
5580 | 5660 |
5581 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 5661 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
5582 compiler->GenerateRuntimeCall(token_pos(), | 5662 compiler->GenerateRuntimeCall(token_pos(), |
5583 deopt_id(), | 5663 deopt_id(), |
5584 kThrowRuntimeEntry, | 5664 kThrowRuntimeEntry, |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5862 __ movq(R10, Immediate(kInvalidObjectPointer)); | 5942 __ movq(R10, Immediate(kInvalidObjectPointer)); |
5863 __ movq(RBX, Immediate(kInvalidObjectPointer)); | 5943 __ movq(RBX, Immediate(kInvalidObjectPointer)); |
5864 #endif | 5944 #endif |
5865 } | 5945 } |
5866 | 5946 |
5867 } // namespace dart | 5947 } // namespace dart |
5868 | 5948 |
5869 #undef __ | 5949 #undef __ |
5870 | 5950 |
5871 #endif // defined TARGET_ARCH_X64 | 5951 #endif // defined TARGET_ARCH_X64 |
OLD | NEW |