Chromium Code Reviews| Index: src/ast-value-factory.h |
| diff --git a/src/ast-value-factory.h b/src/ast-value-factory.h |
| index 97976118100f3f9031727f1854da880464fae0dd..19a13ceacc9dcfe9251a249ac82f0c68b376ff0e 100644 |
| --- a/src/ast-value-factory.h |
| +++ b/src/ast-value-factory.h |
| @@ -169,6 +169,8 @@ class AstValue : public ZoneObject { |
| bool BooleanValue() const; |
| + bool IsTheHole() const { return type_ == THE_HOLE; } |
| + |
| void Internalize(Isolate* isolate); |
| // Can be called after Internalize has been called. |