Revision: 23825
Author:   [email protected]
Date:     Wed Sep 10 08:32:23 2014 UTC
Log:      [turbofan] Correctly use bit_cast instead of static_cast.

[email protected]

Review URL: https://codereview.chromium.org/559913003
https://code.google.com/p/v8/source/detail?r=23825

Modified:
 /branches/bleeding_edge/src/compiler/simplified-operator-reducer.h

=======================================
--- /branches/bleeding_edge/src/compiler/simplified-operator-reducer.h Thu Sep 4 13:45:05 2014 UTC +++ /branches/bleeding_edge/src/compiler/simplified-operator-reducer.h Wed Sep 10 08:32:23 2014 UTC
@@ -32,7 +32,7 @@
   Reduction ReplaceFloat64(double value);
   Reduction ReplaceInt32(int32_t value);
   Reduction ReplaceUint32(uint32_t value) {
-    return ReplaceInt32(static_cast<int32_t>(value));
+    return ReplaceInt32(bit_cast<int32_t>(value));
   }
   Reduction ReplaceNumber(double value);
   Reduction ReplaceNumber(int32_t value);

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to