| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index ba5f3fd56ea511d39162be59ff77f22f85cc9c22..ff1d357b4c80a96e04b5afe0a5dc274146d377c3 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -607,6 +607,7 @@ static void SetFunctionInfo(Handle<SharedFunctionInfo> function_info,
|
| function_info->set_bailout_reason(lit->dont_optimize_reason());
|
| function_info->set_dont_cache(lit->flags()->Contains(kDontCache));
|
| function_info->set_kind(lit->kind());
|
| + function_info->set_uses_super(lit->uses_super());
|
| function_info->set_asm_function(lit->scope()->asm_function());
|
| }
|
|
|
| @@ -1333,6 +1334,7 @@ Handle<SharedFunctionInfo> Compiler::BuildFunctionInfo(
|
| RecordFunctionCompilation(Logger::FUNCTION_TAG, &info, result);
|
| result->set_allows_lazy_compilation(allow_lazy);
|
| result->set_allows_lazy_compilation_without_context(allow_lazy_without_ctx);
|
| + result->set_uses_super(literal->uses_super());
|
|
|
| // Set the expected number of properties for instances and return
|
| // the resulting function.
|
|
|