Remove superflous SharedFunctionInfo::uses_super call.
authormstarzinger <mstarzinger@chromium.org>
Thu, 20 Nov 2014 16:21:56 +0000 (08:21 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 20 Nov 2014 16:22:04 +0000 (16:22 +0000)
R=danno@chromium.org

Review URL: https://codereview.chromium.org/736383002

Cr-Commit-Position: refs/heads/master@{#25445}

src/compiler.cc

index 33d88d7..82412a3 100644 (file)
@@ -1358,7 +1358,6 @@ 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.