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

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

Issue 13671004: Support UseDartApi vm test on ARM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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_ia32.cc ('k') | runtime/vm/stub_code_arm.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) 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 "lib/error.h" 10 #include "lib/error.h"
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 } 255 }
256 256
257 257
258 static Condition TokenKindToSmiCondition(Token::Kind kind) { 258 static Condition TokenKindToSmiCondition(Token::Kind kind) {
259 switch (kind) { 259 switch (kind) {
260 case Token::kEQ: return EQUAL; 260 case Token::kEQ: return EQUAL;
261 case Token::kNE: return NOT_EQUAL; 261 case Token::kNE: return NOT_EQUAL;
262 case Token::kLT: return LESS; 262 case Token::kLT: return LESS;
263 case Token::kGT: return GREATER; 263 case Token::kGT: return GREATER;
264 case Token::kLTE: return LESS_EQUAL; 264 case Token::kLTE: return LESS_EQUAL;
265 case Token::kGTE: return GREATER_EQUAL; 265 case Token::kGTE: return GREATER_EQUAL;
266 default: 266 default:
267 UNREACHABLE(); 267 UNREACHABLE();
268 return OVERFLOW; 268 return OVERFLOW;
269 } 269 }
270 } 270 }
271 271
272 272
273 LocationSummary* EqualityCompareInstr::MakeLocationSummary() const { 273 LocationSummary* EqualityCompareInstr::MakeLocationSummary() const {
274 const intptr_t kNumInputs = 2; 274 const intptr_t kNumInputs = 2;
275 const bool is_checked_strict_equal = 275 const bool is_checked_strict_equal =
(...skipping 3080 matching lines...) Expand 10 before | Expand all | Expand 10 after
3356 PcDescriptors::kOther, 3356 PcDescriptors::kOther,
3357 locs()); 3357 locs());
3358 __ Drop(2); // Discard type arguments and receiver. 3358 __ Drop(2); // Discard type arguments and receiver.
3359 } 3359 }
3360 3360
3361 } // namespace dart 3361 } // namespace dart
3362 3362
3363 #undef __ 3363 #undef __
3364 3364
3365 #endif // defined TARGET_ARCH_X64 3365 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_ia32.cc ('k') | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698