Reviewers: Michael Starzinger, Jakob,

Message:
Committed patchset #2 manually as r16512 (presubmit successful).

Description:
Initialize CompareOperation::combined_type to avoid crashes.

BUG=
[email protected]

Committed: http://code.google.com/p/v8/source/detail?r=16512

Please review this at https://codereview.chromium.org/23811003/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/ast.h


Index: src/ast.h
diff --git a/src/ast.h b/src/ast.h
index f22c96ccdfc7a2f3972202844c500ab78bfab1ce..0f01a3e42aed142c1ab6e35374eb094c5e17235a 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -2038,7 +2038,8 @@ class CompareOperation V8_FINAL : public Expression {
         op_(op),
         left_(left),
         right_(right),
-        pos_(pos) {
+        pos_(pos),
+        combined_type_(Type::Null(), isolate) {
     ASSERT(Token::IsCompareOp(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/groups/opt_out.

Reply via email to