Commit 1c1a1a1a authored by jarin@chromium.org's avatar jarin@chromium.org

Fix uninitialized fields in the BinaryOperation ast node.

R=jkummerow@chromium.org, svenpanne@chromium.org
BUG=chromium:429194
LOG=n

Review URL: https://codereview.chromium.org/701533002

Cr-Commit-Position: refs/heads/master@{#25077}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25077 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 3ea82aa9
...@@ -2094,6 +2094,8 @@ class BinaryOperation FINAL : public Expression { ...@@ -2094,6 +2094,8 @@ class BinaryOperation FINAL : public Expression {
Expression* right, int pos) Expression* right, int pos)
: Expression(zone, pos), : Expression(zone, pos),
op_(static_cast<byte>(op)), op_(static_cast<byte>(op)),
has_fixed_right_arg_(false),
fixed_right_arg_value_(0),
left_(left), left_(left),
right_(right) { right_(right) {
DCHECK(Token::IsBinaryOp(op)); DCHECK(Token::IsBinaryOp(op));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment