Reviewers: Benedikt Meurer,
Description:
Fix Windows build after 25373
[email protected]
Please review this at https://codereview.chromium.org/733783003/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+1, -1 lines):
M src/compiler/node-matchers.h
Index: src/compiler/node-matchers.h
diff --git a/src/compiler/node-matchers.h b/src/compiler/node-matchers.h
index
98e9899f0c850dbf618cdb96104bd49833851f20..c748c61e6a9cc0624c074bde0a579378b067abff
100644
--- a/src/compiler/node-matchers.h
+++ b/src/compiler/node-matchers.h
@@ -190,7 +190,7 @@ struct AddMatcher : public BinopMatcher {
typename BinopMatcher::RightMatcher::ValueType value =
m.right().Value();
if (value >= 0 && value <= 3) {
- return value;
+ return static_cast<int>(value);
}
}
} else if (node->opcode() == kMulOpcode) {
--
--
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.