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

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

Issue 8932014: Fix two x64 code generation bugs introduced by const context slot code. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x64/lithium-codegen-x64.cc
===================================================================
--- src/x64/lithium-codegen-x64.cc (revision 10244)
+++ src/x64/lithium-codegen-x64.cc (working copy)
@@ -2074,7 +2074,7 @@
} else {
Label is_not_hole;
__ j(not_equal, &is_not_hole, Label::kNear);
- __ movq(result, factory()->undefined_value(), RelocInfo::NONE);
+ __ LoadRoot(result, Heap::kUndefinedValueRootIndex);
__ bind(&is_not_hole);
}
}
@@ -2093,7 +2093,7 @@
if (instr->hydrogen()->DeoptimizesOnHole()) {
DeoptimizeIf(equal, instr->environment());
} else {
- __ j(not_equal, &skip_assignment, Label::kNear);
+ __ j(not_equal, &skip_assignment);
}
}
__ movq(target, value);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698