Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: runtime/vm/intermediate_language_x64.cc

Issue 345563007: Add Uint32 representation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 UNIMPLEMENTED();
5609 }
5610
5611
5612 LocationSummary* ShiftUint32OpInstr::MakeLocationSummary(Isolate* isolate,
5613 bool opt) const {
5614 UNIMPLEMENTED();
5615 return NULL;
5616 }
5617
5618
5619 void ShiftUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5620 UNIMPLEMENTED();
5621 }
5622
5623
5624 LocationSummary* UnaryUint32OpInstr::MakeLocationSummary(Isolate* isolate,
5625 bool opt) const {
5626 UNIMPLEMENTED();
5627 return NULL;
5628 }
5629
5630
5631 void UnaryUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5632 UNIMPLEMENTED();
5633 }
5634
5635
5636 LocationSummary* UnboxUint32Instr::MakeLocationSummary(Isolate* isolate,
5637 bool opt) const {
5638 UNIMPLEMENTED();
5639 return NULL;
5640 }
5641
5642
5643 void UnboxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) {
5644 UNIMPLEMENTED();
5645 }
5646
5647
5648 LocationSummary* BoxUint32Instr::MakeLocationSummary(Isolate* isolate,
5649 bool opt) const {
5650 UNIMPLEMENTED();
5651 return NULL;
5652 }
5653
5654
5655 void BoxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) {
5656 UNIMPLEMENTED();
5657 }
5658
5659
5660 LocationSummary* UnboxedIntConverterInstr::MakeLocationSummary(Isolate* isolate,
5661 bool opt) const {
5662 UNIMPLEMENTED();
5663 return NULL;
5664 }
5665
5666
5667 void UnboxedIntConverterInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5668 UNIMPLEMENTED();
5669 }
5670
5671
5575 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate, 5672 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate,
5576 bool opt) const { 5673 bool opt) const {
5577 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall); 5674 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall);
5578 } 5675 }
5579 5676
5580 5677
5581 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 5678 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5582 compiler->GenerateRuntimeCall(token_pos(), 5679 compiler->GenerateRuntimeCall(token_pos(),
5583 deopt_id(), 5680 deopt_id(),
5584 kThrowRuntimeEntry, 5681 kThrowRuntimeEntry,
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
5862 __ movq(R10, Immediate(kInvalidObjectPointer)); 5959 __ movq(R10, Immediate(kInvalidObjectPointer));
5863 __ movq(RBX, Immediate(kInvalidObjectPointer)); 5960 __ movq(RBX, Immediate(kInvalidObjectPointer));
5864 #endif 5961 #endif
5865 } 5962 }
5866 5963
5867 } // namespace dart 5964 } // namespace dart
5868 5965
5869 #undef __ 5966 #undef __
5870 5967
5871 #endif // defined TARGET_ARCH_X64 5968 #endif // defined TARGET_ARCH_X64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698