Reviewers: ulan,

Description:
Remove bogus assertion regarding code marked for deopt.

[email protected]

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

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+0, -1 lines):
  M src/factory.cc


Index: src/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index 0b131de1485795bcebbbca3a8f06d212f5400388..54ebf85da6eb5899ab02507a72ccc0f77423e623 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -968,7 +968,6 @@ Handle<JSFunction> Factory::NewFunctionFromSharedFunctionInfo(
         function_info->GetLiteralsFromOptimizedCodeMap(index);
     if (literals != NULL) result->set_literals(literals);
     Code* code = function_info->GetCodeFromOptimizedCodeMap(index);
-    ASSERT(!code->marked_for_deoptimization());
     result->ReplaceCode(code);
     return result;
   }


--
--
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/groups/opt_out.

Reply via email to