| Index: src/ast.h
|
| diff --git a/src/ast.h b/src/ast.h
|
| index 10ae7de458d1653e36a7ab688dd15b9b68e297f4..36a49d77ea69f761e1bc3def7ff50d1291c70ec7 100644
|
| --- a/src/ast.h
|
| +++ b/src/ast.h
|
| @@ -339,8 +339,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);
|
|
|
| // Type feedback information for assignments and properties.
|
| virtual bool IsMonomorphic() {
|
| @@ -1841,7 +1841,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:
|
|
|