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

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
« no previous file with comments | « runtime/vm/intermediate_language_mips.cc ('k') | runtime/vm/locations.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5607 matching lines...) Expand 10 before | Expand all | Expand 10 after
5618 UNIMPLEMENTED(); 5618 UNIMPLEMENTED();
5619 return NULL; 5619 return NULL;
5620 } 5620 }
5621 5621
5622 5622
5623 void ShiftMintOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 5623 void ShiftMintOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5624 UNIMPLEMENTED(); 5624 UNIMPLEMENTED();
5625 } 5625 }
5626 5626
5627 5627
5628 CompileType BinaryUint32OpInstr::ComputeType() const {
5629 return CompileType::FromCid(kSmiCid);
5630 }
5631
5632
5633 CompileType ShiftUint32OpInstr::ComputeType() const {
5634 return CompileType::FromCid(kSmiCid);
5635 }
5636
5637
5638 CompileType UnaryUint32OpInstr::ComputeType() const {
5639 return CompileType::FromCid(kSmiCid);
5640 }
5641
5642
5643 CompileType BoxUint32Instr::ComputeType() const {
5644 return CompileType::FromCid(kSmiCid);
5645 }
5646
5647
5648 CompileType UnboxUint32Instr::ComputeType() const {
5649 return CompileType::FromCid(kSmiCid);
5650 }
5651
5652
5653 LocationSummary* BinaryUint32OpInstr::MakeLocationSummary(Isolate* isolate,
5654 bool opt) const {
5655 UNIMPLEMENTED();
5656 return NULL;
5657 }
5658
5659
5660 void BinaryUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5661 UNIMPLEMENTED();
5662 }
5663
5664
5665 LocationSummary* ShiftUint32OpInstr::MakeLocationSummary(Isolate* isolate,
5666 bool opt) const {
5667 UNIMPLEMENTED();
5668 return NULL;
5669 }
5670
5671
5672 void ShiftUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5673 UNIMPLEMENTED();
5674 }
5675
5676
5677 LocationSummary* UnaryUint32OpInstr::MakeLocationSummary(Isolate* isolate,
5678 bool opt) const {
5679 UNIMPLEMENTED();
5680 return NULL;
5681 }
5682
5683
5684 void UnaryUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5685 UNIMPLEMENTED();
5686 }
5687
5688
5689 LocationSummary* UnboxUint32Instr::MakeLocationSummary(Isolate* isolate,
5690 bool opt) const {
5691 UNIMPLEMENTED();
5692 return NULL;
5693 }
5694
5695
5696 void UnboxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) {
5697 UNIMPLEMENTED();
5698 }
5699
5700
5701 LocationSummary* BoxUint32Instr::MakeLocationSummary(Isolate* isolate,
5702 bool opt) const {
5703 UNIMPLEMENTED();
5704 return NULL;
5705 }
5706
5707
5708 void BoxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) {
5709 UNIMPLEMENTED();
5710 }
5711
5712
5713 LocationSummary* UnboxedIntConverterInstr::MakeLocationSummary(Isolate* isolate,
5714 bool opt) const {
5715 UNIMPLEMENTED();
5716 return NULL;
5717 }
5718
5719
5720 void UnboxedIntConverterInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5721 UNIMPLEMENTED();
5722 }
5723
5724
5628 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate, 5725 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate,
5629 bool opt) const { 5726 bool opt) const {
5630 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall); 5727 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall);
5631 } 5728 }
5632 5729
5633 5730
5634 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 5731 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5635 compiler->GenerateRuntimeCall(token_pos(), 5732 compiler->GenerateRuntimeCall(token_pos(),
5636 deopt_id(), 5733 deopt_id(),
5637 kThrowRuntimeEntry, 5734 kThrowRuntimeEntry,
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
5915 __ movq(R10, Immediate(kInvalidObjectPointer)); 6012 __ movq(R10, Immediate(kInvalidObjectPointer));
5916 __ movq(RBX, Immediate(kInvalidObjectPointer)); 6013 __ movq(RBX, Immediate(kInvalidObjectPointer));
5917 #endif 6014 #endif
5918 } 6015 }
5919 6016
5920 } // namespace dart 6017 } // namespace dart
5921 6018
5922 #undef __ 6019 #undef __
5923 6020
5924 #endif // defined TARGET_ARCH_X64 6021 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_mips.cc ('k') | runtime/vm/locations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698