From 8acf38762009dbbd4e60f58b8f72d41458fc2637 Mon Sep 17 00:00:00 2001 From: mstarzinger Date: Mon, 8 Dec 2014 20:47:49 -0800 Subject: [PATCH] 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} --- src/compiler.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/compiler.cc b/src/compiler.cc index c4949dcc9e..1427f623b8 100644 --- a/src/compiler.cc +++ b/src/compiler.cc @@ -944,11 +944,8 @@ MaybeHandle Compiler::GetLazyCode(Handle function) { VMState state(isolate); PostponeInterruptsScope postpone(isolate); - info.SetOptimizing(BailoutId::None(), - Handle(function->shared()->code())); - + info.SetOptimizing(BailoutId::None(), handle(function->shared()->code())); info.MarkAsContextSpecializing(); - info.MarkAsTypingEnabled(); if (GetOptimizedCodeNow(&info)) { DCHECK(function->shared()->is_compiled());