Reviewers: Benedikt Meurer,

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

[email protected]

Please review this at https://codereview.chromium.org/785933002/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+1, -4 lines):
  M src/compiler.cc


Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index 546ac887421ab2e10f251ec038d98f049dc37755..7aa8be9fb437aeb2612ca50bf1e1c291fc37a397 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -945,11 +945,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());


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to