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

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

Issue 22152003: Never hchange nan-hole to hole or hole to nan-hole. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add individual test-file Created 7 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
Index: src/x64/lithium-codegen-x64.cc
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
index cc635100b18dcab10c9e4e9c02aee8ab50206464..1096960bc388cf355ffc37af307e6c920036c104 100644
--- a/src/x64/lithium-codegen-x64.cc
+++ b/src/x64/lithium-codegen-x64.cc
@@ -4629,7 +4629,7 @@ void LCodeGen::DoNumberTagD(LNumberTagD* instr) {
Label canonicalize;
__ j(not_equal, &canonicalize);
__ addq(rsp, Immediate(kDoubleSize));
- __ Move(reg, factory()->the_hole_value());
+ __ Move(reg, factory()->undefined_value());
__ jmp(&done);
__ bind(&canonicalize);
__ addq(rsp, Immediate(kDoubleSize));

Powered by Google App Engine
This is Rietveld 408576698