| Index: src/ast/ast-value-factory.h
|
| diff --git a/src/ast/ast-value-factory.h b/src/ast/ast-value-factory.h
|
| index 91e7d78c38b97720c10ecc5167091a045f38f243..21103a0e7a03834fec4d1d0fe37a017dc02766d1 100644
|
| --- a/src/ast/ast-value-factory.h
|
| +++ b/src/ast/ast-value-factory.h
|
| @@ -80,7 +80,8 @@ class AstRawString final : public AstString {
|
|
|
| void Internalize(Isolate* isolate);
|
|
|
| - bool AsArrayIndex(uint32_t* index) const;
|
| + bool AsArrayIndex(uint32_t* index, HandleDereferenceMode deref_mode =
|
| + HandleDereferenceMode::kAllowed) const;
|
|
|
| // The string is not null-terminated, use length() to find out the length.
|
| const unsigned char* raw_data() const {
|
| @@ -180,7 +181,8 @@ class AstValue : public ZoneObject {
|
| return type_ == STRING && string_ == string;
|
| }
|
|
|
| - bool IsPropertyName() const;
|
| + bool IsPropertyName(
|
| + HandleDereferenceMode deref_mode = HandleDereferenceMode::kAllowed) const;
|
|
|
| bool BooleanValue() const;
|
|
|
|
|