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

Side by Side Diff: runtime/vm/intermediate_language_ia32.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_arm.cc ('k') | runtime/vm/intermediate_language_x64.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_IA32. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32.
6 #if defined(TARGET_ARCH_IA32) 6 #if defined(TARGET_ARCH_IA32)
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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 } 247 }
248 248
249 249
250 static Condition TokenKindToSmiCondition(Token::Kind kind) { 250 static Condition TokenKindToSmiCondition(Token::Kind kind) {
251 switch (kind) { 251 switch (kind) {
252 case Token::kEQ: return EQUAL; 252 case Token::kEQ: return EQUAL;
253 case Token::kNE: return NOT_EQUAL; 253 case Token::kNE: return NOT_EQUAL;
254 case Token::kLT: return LESS; 254 case Token::kLT: return LESS;
255 case Token::kGT: return GREATER; 255 case Token::kGT: return GREATER;
256 case Token::kLTE: return LESS_EQUAL; 256 case Token::kLTE: return LESS_EQUAL;
257 case Token::kGTE: return GREATER_EQUAL; 257 case Token::kGTE: return GREATER_EQUAL;
258 default: 258 default:
259 UNREACHABLE(); 259 UNREACHABLE();
260 return OVERFLOW; 260 return OVERFLOW;
261 } 261 }
262 } 262 }
263 263
264 264
265 LocationSummary* EqualityCompareInstr::MakeLocationSummary() const { 265 LocationSummary* EqualityCompareInstr::MakeLocationSummary() const {
266 const intptr_t kNumInputs = 2; 266 const intptr_t kNumInputs = 2;
267 const bool is_checked_strict_equal = 267 const bool is_checked_strict_equal =
(...skipping 3451 matching lines...) Expand 10 before | Expand all | Expand 10 after
3719 PcDescriptors::kOther, 3719 PcDescriptors::kOther,
3720 locs()); 3720 locs());
3721 __ Drop(2); // Discard type arguments and receiver. 3721 __ Drop(2); // Discard type arguments and receiver.
3722 } 3722 }
3723 3723
3724 } // namespace dart 3724 } // namespace dart
3725 3725
3726 #undef __ 3726 #undef __
3727 3727
3728 #endif // defined TARGET_ARCH_IA32 3728 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_arm.cc ('k') | runtime/vm/intermediate_language_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698