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}
This commit is contained in:
parent
90a297a8e0
commit
8acf387620
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user