| Index: src/parser.h
|
| diff --git a/src/parser.h b/src/parser.h
|
| index 0ebc84312ab976f7b282658e8a6c52d4a88173b2..5221752cf6801e2b0bc4bc782a227b33862f5ae1 100644
|
| --- a/src/parser.h
|
| +++ b/src/parser.h
|
| @@ -470,6 +470,9 @@ class Parser {
|
| Mode mode() const { return mode_; }
|
| ScriptDataImpl* pre_data() const { return pre_data_; }
|
|
|
| + // Check if the given string is 'eval' or 'arguments'.
|
| + bool IsEvalOrArguments(Handle<String> string);
|
| +
|
| // All ParseXXX functions take as the last argument an *ok parameter
|
| // which is set to false if parsing failed; it is unchanged otherwise.
|
| // By making the 'exception handling' explicit, we are forced to check
|
|
|