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

Side by Side Diff: runtime/vm/intermediate_language_arm64.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_arm.cc ('k') | runtime/vm/intermediate_language_ia32.cc » ('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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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_ARM64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64.
6 #if defined(TARGET_ARCH_ARM64) 6 #if defined(TARGET_ARCH_ARM64)
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 5161 matching lines...) Expand 10 before | Expand all | Expand 10 after
5172 UNIMPLEMENTED(); 5172 UNIMPLEMENTED();
5173 return NULL; 5173 return NULL;
5174 } 5174 }
5175 5175
5176 5176
5177 void UnaryMintOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 5177 void UnaryMintOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5178 UNIMPLEMENTED(); 5178 UNIMPLEMENTED();
5179 } 5179 }
5180 5180
5181 5181
5182 CompileType BinaryUint32OpInstr::ComputeType() const {
5183 return CompileType::FromCid(kSmiCid);
5184 }
5185
5186
5187 CompileType ShiftUint32OpInstr::ComputeType() const {
5188 return CompileType::FromCid(kSmiCid);
5189 }
5190
5191
5192 CompileType UnaryUint32OpInstr::ComputeType() const {
5193 return CompileType::FromCid(kSmiCid);
5194 }
5195
5196
5197 CompileType BoxUint32Instr::ComputeType() const {
5198 return CompileType::FromCid(kSmiCid);
5199 }
5200
5201
5202 CompileType UnboxUint32Instr::ComputeType() const {
5203 return CompileType::FromCid(kSmiCid);
5204 }
5205
5206
5207 LocationSummary* BinaryUint32OpInstr::MakeLocationSummary(Isolate* isolate,
5208 bool opt) const {
5209 UNIMPLEMENTED();
5210 return NULL;
5211 }
5212
5213
5214 void BinaryUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5215 UNIMPLEMENTED();
5216 }
5217
5218
5219 LocationSummary* ShiftUint32OpInstr::MakeLocationSummary(Isolate* isolate,
5220 bool opt) const {
5221 UNIMPLEMENTED();
5222 return NULL;
5223 }
5224
5225
5226 void ShiftUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5227 UNIMPLEMENTED();
5228 }
5229
5230
5231 LocationSummary* UnaryUint32OpInstr::MakeLocationSummary(Isolate* isolate,
5232 bool opt) const {
5233 UNIMPLEMENTED();
5234 return NULL;
5235 }
5236
5237
5238 void UnaryUint32OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5239 UNIMPLEMENTED();
5240 }
5241
5242
5243 LocationSummary* UnboxUint32Instr::MakeLocationSummary(Isolate* isolate,
5244 bool opt) const {
5245 UNIMPLEMENTED();
5246 return NULL;
5247 }
5248
5249
5250 void UnboxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) {
5251 UNIMPLEMENTED();
5252 }
5253
5254
5255 LocationSummary* BoxUint32Instr::MakeLocationSummary(Isolate* isolate,
5256 bool opt) const {
5257 UNIMPLEMENTED();
5258 return NULL;
5259 }
5260
5261
5262 void BoxUint32Instr::EmitNativeCode(FlowGraphCompiler* compiler) {
5263 UNIMPLEMENTED();
5264 }
5265
5266
5267 LocationSummary* UnboxedIntConverterInstr::MakeLocationSummary(Isolate* isolate,
5268 bool opt) const {
5269 UNIMPLEMENTED();
5270 return NULL;
5271 }
5272
5273
5274 void UnboxedIntConverterInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5275 UNIMPLEMENTED();
5276 }
5277
5278
5182 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate, 5279 LocationSummary* ThrowInstr::MakeLocationSummary(Isolate* isolate,
5183 bool opt) const { 5280 bool opt) const {
5184 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall); 5281 return new(isolate) LocationSummary(isolate, 0, 0, LocationSummary::kCall);
5185 } 5282 }
5186 5283
5187 5284
5188 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 5285 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5189 compiler->GenerateRuntimeCall(token_pos(), 5286 compiler->GenerateRuntimeCall(token_pos(),
5190 deopt_id(), 5287 deopt_id(),
5191 kThrowRuntimeEntry, 5288 kThrowRuntimeEntry,
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
5415 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); 5512 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs());
5416 #if defined(DEBUG) 5513 #if defined(DEBUG)
5417 __ LoadImmediate(R4, kInvalidObjectPointer, kNoPP); 5514 __ LoadImmediate(R4, kInvalidObjectPointer, kNoPP);
5418 __ LoadImmediate(R5, kInvalidObjectPointer, kNoPP); 5515 __ LoadImmediate(R5, kInvalidObjectPointer, kNoPP);
5419 #endif 5516 #endif
5420 } 5517 }
5421 5518
5422 } // namespace dart 5519 } // namespace dart
5423 5520
5424 #endif // defined TARGET_ARCH_ARM64 5521 #endif // defined TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_arm.cc ('k') | runtime/vm/intermediate_language_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698