Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(738)

Unified Diff: src/ast.h

Issue 701533002: Fix uninitialized fields in the BinaryOperation ast node. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698