Commit 0e42316d authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

[turbofan] Correctly use bit_cast instead of static_cast.

R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/559913003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23825 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent ed37edc5
......@@ -32,7 +32,7 @@ class SimplifiedOperatorReducer FINAL : public Reducer {
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment