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

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

Issue 11232050: Fix a typo in super ==. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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/flow_graph_compiler_ia32.cc ('k') | no next file » | 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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/flow_graph_compiler.h" 8 #include "vm/flow_graph_compiler.h"
9 9
10 #include "lib/error.h" 10 #include "lib/error.h"
(...skipping 1138 matching lines...) Expand 10 before | Expand all | Expand 10 after
1149 const Immediate raw_null = 1149 const Immediate raw_null =
1150 Immediate(reinterpret_cast<intptr_t>(Object::null())); 1150 Immediate(reinterpret_cast<intptr_t>(Object::null()));
1151 Label check_identity, fall_through; 1151 Label check_identity, fall_through;
1152 __ cmpq(Address(RSP, 0 * kWordSize), raw_null); 1152 __ cmpq(Address(RSP, 0 * kWordSize), raw_null);
1153 __ j(EQUAL, &check_identity, Assembler::kNearJump); 1153 __ j(EQUAL, &check_identity, Assembler::kNearJump);
1154 __ cmpq(Address(RSP, 1 * kWordSize), raw_null); 1154 __ cmpq(Address(RSP, 1 * kWordSize), raw_null);
1155 __ j(NOT_EQUAL, &fall_through, Assembler::kNearJump); 1155 __ j(NOT_EQUAL, &fall_through, Assembler::kNearJump);
1156 1156
1157 __ Bind(&check_identity); 1157 __ Bind(&check_identity);
1158 __ popq(result); 1158 __ popq(result);
1159 __ cmpq(result, Address(RSP, 1 * kWordSize)); 1159 __ cmpq(result, Address(RSP, 0 * kWordSize));
1160 Label is_false; 1160 Label is_false;
1161 __ j(NOT_EQUAL, &is_false, Assembler::kNearJump); 1161 __ j(NOT_EQUAL, &is_false, Assembler::kNearJump);
1162 __ LoadObject(result, bool_true()); 1162 __ LoadObject(result, bool_true());
1163 __ Drop(1); 1163 __ Drop(1);
1164 __ jmp(skip_call); 1164 __ jmp(skip_call);
1165 __ Bind(&is_false); 1165 __ Bind(&is_false);
1166 __ LoadObject(result, bool_false()); 1166 __ LoadObject(result, bool_false());
1167 __ Drop(1); 1167 __ Drop(1);
1168 __ jmp(skip_call); 1168 __ jmp(skip_call);
1169 __ Bind(&fall_through); 1169 __ Bind(&fall_through);
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
1386 void ParallelMoveResolver::Exchange(const Address& mem1, const Address& mem2) { 1386 void ParallelMoveResolver::Exchange(const Address& mem1, const Address& mem2) {
1387 __ Exchange(mem1, mem2); 1387 __ Exchange(mem1, mem2);
1388 } 1388 }
1389 1389
1390 1390
1391 #undef __ 1391 #undef __
1392 1392
1393 } // namespace dart 1393 } // namespace dart
1394 1394
1395 #endif // defined TARGET_ARCH_X64 1395 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698