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

Unified Diff: runtime/vm/assembler_macros_ia32.cc

Issue 10875030: Add support for XMM registers in SSA code generation pipeline. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix a bug pointed out by Florian Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/assembler_macros_ia32.h ('k') | runtime/vm/assembler_macros_x64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_macros_ia32.cc
diff --git a/runtime/vm/assembler_macros_ia32.cc b/runtime/vm/assembler_macros_ia32.cc
index 9135725575c9310fb41ff3be88665ede1e4645fc..58cf70971b48eba9442d67a05df906332c309db8 100644
--- a/runtime/vm/assembler_macros_ia32.cc
+++ b/runtime/vm/assembler_macros_ia32.cc
@@ -19,6 +19,7 @@ DECLARE_FLAG(bool, inline_alloc);
void AssemblerMacros::TryAllocate(Assembler* assembler,
const Class& cls,
Label* failure,
+ bool near_jump,
Register instance_reg) {
ASSERT(failure != NULL);
if (FLAG_inline_alloc) {
@@ -28,7 +29,7 @@ void AssemblerMacros::TryAllocate(Assembler* assembler,
__ addl(instance_reg, Immediate(instance_size));
// instance_reg: potential next object start.
__ cmpl(instance_reg, Address::Absolute(heap->EndAddress()));
- __ j(ABOVE_EQUAL, failure, Assembler::kNearJump);
+ __ j(ABOVE_EQUAL, failure, near_jump);
// Successfully allocated the object, now update top to point to
// next object start and store the class in the class field of object.
__ movl(Address::Absolute(heap->TopAddress()), instance_reg);
« no previous file with comments | « runtime/vm/assembler_macros_ia32.h ('k') | runtime/vm/assembler_macros_x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698