Commit 793ae860 authored by mstarzinger's avatar mstarzinger Committed by Commit bot

[compiler] Drop obsolete compiler hint setting.

The compiler hints in question are already correctly initialized by the
NewSharedFunctionInfoForLiteral function. Reinitializing them again here
is no longer needed by now.

R=bmeurer@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#35471}
parent 8f8dd715
...@@ -1583,9 +1583,6 @@ Handle<SharedFunctionInfo> Compiler::GetSharedFunctionInfo( ...@@ -1583,9 +1583,6 @@ Handle<SharedFunctionInfo> Compiler::GetSharedFunctionInfo(
result->set_never_compiled(outer_info->is_first_compile() && lazy); result->set_never_compiled(outer_info->is_first_compile() && lazy);
RecordFunctionCompilation(Logger::FUNCTION_TAG, &info, result); RecordFunctionCompilation(Logger::FUNCTION_TAG, &info, result);
result->set_allows_lazy_compilation(literal->AllowsLazyCompilation());
result->set_allows_lazy_compilation_without_context(allow_lazy_without_ctx);
live_edit_tracker.RecordFunctionInfo(result, literal, info.zone()); live_edit_tracker.RecordFunctionInfo(result, literal, info.zone());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment