Commit 8acf3876 authored by mstarzinger's avatar mstarzinger Committed by Commit bot

Make --no-turbo-types work on all paths through the pipeline.

R=bmeurer@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#25717}
parent 90a297a8
......@@ -944,11 +944,8 @@ MaybeHandle<Code> Compiler::GetLazyCode(Handle<JSFunction> function) {
VMState<COMPILER> state(isolate);
PostponeInterruptsScope postpone(isolate);
info.SetOptimizing(BailoutId::None(),
Handle<Code>(function->shared()->code()));
info.SetOptimizing(BailoutId::None(), handle(function->shared()->code()));
info.MarkAsContextSpecializing();
info.MarkAsTypingEnabled();
if (GetOptimizedCodeNow(&info)) {
DCHECK(function->shared()->is_compiled());
......
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