| Index: src/ast.cc
|
| diff --git a/src/ast.cc b/src/ast.cc
|
| index 26bc491557aa9d3d4c37f9aa7a972e4fb56e5dab..2edd51ecde537a845fc0a08fff4a13371de62439 100644
|
| --- a/src/ast.cc
|
| +++ b/src/ast.cc
|
| @@ -151,6 +151,12 @@ StrictMode FunctionLiteral::strict_mode() const {
|
| }
|
|
|
|
|
| +bool FunctionLiteral::needs_super_binding() const {
|
| + DCHECK_NOT_NULL(scope());
|
| + return scope()->uses_super() || scope()->inner_uses_super();
|
| +}
|
| +
|
| +
|
| void FunctionLiteral::InitializeSharedInfo(
|
| Handle<Code> unoptimized_code) {
|
| for (RelocIterator it(*unoptimized_code); !it.done(); it.next()) {
|
|
|