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:
0782cda
)
Avoid MSVC's C6282 warning (assignment of constant in Boolean context).
author
svenpanne
<svenpanne@chromium.org>
Tue, 13 Jan 2015 08:36:53 +0000
(
00:36
-0800)
committer
Commit bot
<commit-bot@chromium.org>
Tue, 13 Jan 2015 08:37:06 +0000
(08:37 +0000)
By courtesy of /analyze... :-}
Review URL: https://codereview.chromium.org/
846223002
Cr-Commit-Position: refs/heads/master@{#26032}
src/ast.h
patch
|
blob
|
history
diff --git
a/src/ast.h
b/src/ast.h
index
43bde6a
..
a550c6c
100644
(file)
--- a/
src/ast.h
+++ b/
src/ast.h
@@
-3157,7
+3157,8
@@
class AstVisitor BASE_EMBEDDED {
if (stack_overflow_) return true; \
StackLimitCheck check(zone_->isolate()); \
if (!check.HasOverflowed()) return false; \
- return (stack_overflow_ = true); \
+ stack_overflow_ = true; \
+ return true; \
} \
\
private: \