Index: src/scopes.h |
diff --git a/src/scopes.h b/src/scopes.h |
index 06202c493baa9ba43e3642238d96472460e73b33..5b645f29c20bfa66709410da56a1ba5172b4fc99 100644 |
--- a/src/scopes.h |
+++ b/src/scopes.h |
@@ -263,6 +263,7 @@ class Scope: public ZoneObject { |
// Specific scope types. |
bool is_eval_scope() const { return type_ == EVAL_SCOPE; } |
bool is_function_scope() const { return type_ == FUNCTION_SCOPE; } |
+ bool is_module_scope() const { return type_ == MODULE_SCOPE; } |
bool is_global_scope() const { return type_ == GLOBAL_SCOPE; } |
bool is_catch_scope() const { return type_ == CATCH_SCOPE; } |
bool is_block_scope() const { return type_ == BLOCK_SCOPE; } |