diff options
Diffstat (limited to 'src/3rdparty/v8/src/full-codegen.h')
-rw-r--r-- | src/3rdparty/v8/src/full-codegen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/3rdparty/v8/src/full-codegen.h b/src/3rdparty/v8/src/full-codegen.h index 89b51f9..972839e 100644 --- a/src/3rdparty/v8/src/full-codegen.h +++ b/src/3rdparty/v8/src/full-codegen.h @@ -572,6 +572,7 @@ class FullCodeGenerator: public AstVisitor { bool is_native() { return info_->is_native(); } bool is_classic_mode() { return language_mode() == CLASSIC_MODE; } LanguageMode language_mode() { return function()->language_mode(); } + bool is_qml_mode() { return function()->qml_mode(); } FunctionLiteral* function() { return info_->function(); } Scope* scope() { return scope_; } |