Merge V8 5.3.332.45. DO NOT MERGE
Test: Manual
FPIIM-449
Change-Id: Id3254828b068abdea3cb10442e0172a8c9a98e03
(cherry picked from commit 13e2dadd00298019ed862f2b2fc5068bba730bcf)
diff --git a/src/utils.cc b/src/utils.cc
index c46028f..16b5b7c 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -430,11 +430,8 @@
bool DoubleToBoolean(double d) {
// NaN, +0, and -0 should return the false object
-#if V8_TARGET_LITTLE_ENDIAN
- union IeeeDoubleLittleEndianArchType u;
-#else
- union IeeeDoubleBigEndianArchType u;
-#endif
+ IeeeDoubleArchType u;
+
u.d = d;
if (u.bits.exp == 2047) {
// Detect NaN for IEEE double precision floating point.