Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 874f984ff6bc61a4bcb470b097e67a44795171fd..35347ce9c59fb5f369b477d274032fadcf9dbf32 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -151,9 +151,16 @@ StrictMode FunctionLiteral::strict_mode() const { |
} |
-bool FunctionLiteral::uses_super() const { |
+bool FunctionLiteral::uses_super_property() const { |
DCHECK_NOT_NULL(scope()); |
- return scope()->uses_super() || scope()->inner_uses_super(); |
+ return scope()->uses_super_property() || scope()->inner_uses_super_property(); |
+} |
+ |
+ |
+bool FunctionLiteral::uses_super_constructor_call() const { |
+ DCHECK_NOT_NULL(scope()); |
+ return scope()->uses_super_constructor_call() || |
+ scope()->inner_uses_super_constructor_call(); |
} |