| Index: src/ast.h
|
| diff --git a/src/ast.h b/src/ast.h
|
| index b07456b8f789ed9f03d6aa8b82a2409bf0fe004b..e5d31670bc2f0210d153db58b1376fc083809d9d 100644
|
| --- a/src/ast.h
|
| +++ b/src/ast.h
|
| @@ -353,8 +353,8 @@ class Expression: public AstNode {
|
| // True iff the expression is the null literal.
|
| bool IsNullLiteral();
|
|
|
| - // True iff the expression is the undefined literal.
|
| - bool IsUndefinedLiteral();
|
| + // True if we can prove that the expression is the undefined literal.
|
| + bool IsUndefinedLiteral(Isolate* isolate);
|
|
|
| // Expression type
|
| Handle<Type> type() { return type_; }
|
| @@ -2002,7 +2002,7 @@ class CompareOperation: public Expression {
|
|
|
| // Match special cases.
|
| bool IsLiteralCompareTypeof(Expression** expr, Handle<String>* check);
|
| - bool IsLiteralCompareUndefined(Expression** expr);
|
| + bool IsLiteralCompareUndefined(Expression** expr, Isolate* isolate);
|
| bool IsLiteralCompareNull(Expression** expr);
|
|
|
| protected:
|
|
|