Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index d0b67b7a79332c31ea267042ed2c6779c567b52c..7b2ad9706a5ded83afd7f146b407b498a3ffc468 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -617,7 +617,9 @@ class Parser : public ParserBase<ParserTraits> { |
void SetCachedData(); |
bool inside_with() const { return scope_->inside_with(); } |
- CachedDataMode cached_data_mode() const { return info_->cached_data_mode(); } |
+ ScriptCompiler::CompileOptions compile_options() const { |
+ return info_->compile_options(); |
+ } |
Scope* DeclarationScope(VariableMode mode) { |
return IsLexicalVariableMode(mode) |
? scope_ : scope_->DeclarationScope(); |
@@ -765,7 +767,7 @@ class Parser : public ParserBase<ParserTraits> { |
Scope* original_scope_; // for ES5 function declarations in sloppy eval |
Target* target_stack_; // for break, continue statements |
ParseData* cached_parse_data_; |
- CachedDataMode cached_data_mode_; |
+ ScriptCompiler::CompileOptions compile_options_; |
AstValueFactory* ast_value_factory_; |
CompilationInfo* info_; |