Reviewers: Sven Panne,
Message:
Could you take a look, please?
Description:
Fix uninitialized fields in the BinaryOperation ast node.
[email protected]
BUG=chromium:429194
LOG=n
Please review this at https://codereview.chromium.org/701533002/
Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -0 lines):
M src/ast.h
Index: src/ast.h
diff --git a/src/ast.h b/src/ast.h
index
6b11d79213a09064e47e98736d3d74f78b603c58..aa23b4e237afa7602613a5b6a151adf0c5536608
100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -2094,6 +2094,8 @@ class BinaryOperation FINAL : public Expression {
Expression* right, int pos)
: Expression(zone, pos),
op_(static_cast<byte>(op)),
+ has_fixed_right_arg_(false),
+ fixed_right_arg_value_(0),
left_(left),
right_(right) {
DCHECK(Token::IsBinaryOp(op));
--
--
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.