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

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

Issue 14991010: Make breakpoints on == fire reliably (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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/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_MIPS. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS.
6 #if defined(TARGET_ARCH_MIPS) 6 #if defined(TARGET_ARCH_MIPS)
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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 } 411 }
412 } else { 412 } else {
413 // Call stub, load IC data in register. The stub will update ICData if 413 // Call stub, load IC data in register. The stub will update ICData if
414 // necessary. 414 // necessary.
415 Register ic_data_reg = locs->temp(0).reg(); 415 Register ic_data_reg = locs->temp(0).reg();
416 ASSERT(ic_data_reg == T0); // Stub depends on it. 416 ASSERT(ic_data_reg == T0); // Stub depends on it.
417 __ LoadObject(ic_data_reg, equality_ic_data); 417 __ LoadObject(ic_data_reg, equality_ic_data);
418 // Pass left in A1 and right in A0. 418 // Pass left in A1 and right in A0.
419 compiler->GenerateCall(token_pos, 419 compiler->GenerateCall(token_pos,
420 &StubCode::EqualityWithNullArgLabel(), 420 &StubCode::EqualityWithNullArgLabel(),
421 PcDescriptors::kOther, 421 PcDescriptors::kEqualNull,
422 locs); 422 locs);
423 } 423 }
424 __ Bind(&check_ne); 424 __ Bind(&check_ne);
425 if (kind == Token::kNE) { 425 if (kind == Token::kNE) {
426 Label true_label, done; 426 Label true_label, done;
427 // Negate the condition: true label returns false and vice versa. 427 // Negate the condition: true label returns false and vice versa.
428 __ BranchEqual(V0, Bool::True(), &true_label); 428 __ BranchEqual(V0, Bool::True(), &true_label);
429 __ LoadObject(V0, Bool::True()); 429 __ LoadObject(V0, Bool::True());
430 __ b(&done); 430 __ b(&done);
431 __ Bind(&true_label); 431 __ Bind(&true_label);
(...skipping 2471 matching lines...) Expand 10 before | Expand all | Expand 10 after
2903 compiler->GenerateCall(token_pos(), 2903 compiler->GenerateCall(token_pos(),
2904 &label, 2904 &label,
2905 PcDescriptors::kOther, 2905 PcDescriptors::kOther,
2906 locs()); 2906 locs());
2907 __ Drop(2); // Discard type arguments and receiver. 2907 __ Drop(2); // Discard type arguments and receiver.
2908 } 2908 }
2909 2909
2910 } // namespace dart 2910 } // namespace dart
2911 2911
2912 #endif // defined TARGET_ARCH_MIPS 2912 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_ia32.cc ('k') | runtime/vm/intermediate_language_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698