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

Unified Diff: src/objects-inl.h

Issue 2814013003: [turbofan] Properly represent the float64 hole. (Closed)
Patch Set: Make sure the_hole has the correct hole NaN bit pattern on Win32. Created 3 years, 8 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/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index 04e0511a57846fcda7a9734c8c49c4cf06fa1f1d..ecf821f2e7ca0d02d3f8e79b0f15b4a72362647e 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -1971,6 +1971,10 @@ void Oddball::set_to_number_raw(double value) {
WRITE_DOUBLE_FIELD(this, kToNumberRawOffset, value);
}
+void Oddball::set_to_number_raw_as_bits(uint64_t bits) {
+ WRITE_UINT64_FIELD(this, kToNumberRawOffset, bits);
+}
+
ACCESSORS(Oddball, to_string, String, kToStringOffset)
ACCESSORS(Oddball, to_number, Object, kToNumberOffset)
ACCESSORS(Oddball, type_of, String, kTypeOfOffset)

Powered by Google App Engine
This is Rietveld 408576698