projects
/
platform
/
upstream
/
v8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f173937
)
Fix Windows build after 25373
author
Daniel Clifford
<danno@chromium.org>
Mon, 17 Nov 2014 11:26:27 +0000
(12:26 +0100)
committer
Daniel Clifford
<danno@chromium.org>
Mon, 17 Nov 2014 11:26:37 +0000
(11:26 +0000)
R=bmeurer@chromium.org
TBR=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
733783003
Cr-Commit-Position: refs/heads/master@{#25374}
src/compiler/node-matchers.h
patch
|
blob
|
history
diff --git
a/src/compiler/node-matchers.h
b/src/compiler/node-matchers.h
index
98e9899
..
c748c61
100644
(file)
--- 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) {