Reviewers: ulan,
Message:
Committed patchset #1 manually as r19721 (tree was closed).
Description:
Windows build fix.
[email protected]
Committed: https://code.google.com/p/v8/source/detail?r=19721
Please review this at https://codereview.chromium.org/189093009/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -1 lines):
M src/assembler.cc
Index: src/assembler.cc
diff --git a/src/assembler.cc b/src/assembler.cc
index
535b4befa4ce632cf99ebb0789e6497d7672832d..0117fc5734d43b7eac8229a3dcfccb86341f4d57
100644
--- a/src/assembler.cc
+++ b/src/assembler.cc
@@ -1622,7 +1622,8 @@ MultiplierAndShift::MultiplierAndShift(int32_t d) {
}
delta = ad - r2;
} while (q1 < delta || (q1 == delta && r1 == 0));
- multiplier_ = (d < 0) ? -(q2 + 1) : (q2 + 1);
+ int32_t mul = static_cast<int32_t>(q2 + 1);
+ multiplier_ = (d < 0) ? -mul : mul;
shift_ = p - 32;
}
--
--
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.