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

Unified Diff: src/x64/codegen-x64.cc

Issue 8414018: Version 3.7.3 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/version.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x64/codegen-x64.cc
===================================================================
--- src/x64/codegen-x64.cc (revision 9809)
+++ src/x64/codegen-x64.cc (working copy)
@@ -243,7 +243,6 @@
// Conversion loop.
__ bind(&loop);
- __ decq(r9);
__ movq(rbx,
FieldOperand(r8, r9, times_8, FixedArray::kHeaderSize));
// r9 : current element's index
@@ -257,8 +256,8 @@
__ bind(&convert_hole);
__ movq(FieldOperand(r14, r9, times_8, FixedDoubleArray::kHeaderSize), r15);
__ bind(&entry);
- __ testq(r9, r9);
- __ j(not_zero, &loop);
+ __ decq(r9);
+ __ j(not_sign, &loop);
}
@@ -301,7 +300,6 @@
// Box doubles into heap numbers.
__ bind(&loop);
- __ decq(r9);
__ movq(r14, FieldOperand(r8,
r9,
times_pointer_size,
@@ -338,8 +336,8 @@
rdi);
__ bind(&entry);
- __ testq(r9, r9);
- __ j(not_zero, &loop);
+ __ decq(r9);
+ __ j(not_sign, &loop);
// Set transitioned map.
__ movq(FieldOperand(rdx, HeapObject::kMapOffset), rbx);
« no previous file with comments | « src/version.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698