Commit 314fc254 authored by rossberg@chromium.org's avatar rossberg@chromium.org

Initialize CompareOperation::combined_type to avoid crashes.

BUG=
R=mstarzinger@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16512 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 26dc6c6e
...@@ -2038,7 +2038,8 @@ class CompareOperation V8_FINAL : public Expression { ...@@ -2038,7 +2038,8 @@ class CompareOperation V8_FINAL : public Expression {
op_(op), op_(op),
left_(left), left_(left),
right_(right), right_(right),
pos_(pos) { pos_(pos),
combined_type_(Type::Null(), isolate) {
ASSERT(Token::IsCompareOp(op)); ASSERT(Token::IsCompareOp(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