Commit 99c6ba13 authored by yangguo@chromium.org's avatar yangguo@chromium.org

Remove bogus assertion regarding code marked for deopt.

TBR=ulan@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19610 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent e9273332
...@@ -968,7 +968,6 @@ Handle<JSFunction> Factory::NewFunctionFromSharedFunctionInfo( ...@@ -968,7 +968,6 @@ Handle<JSFunction> Factory::NewFunctionFromSharedFunctionInfo(
function_info->GetLiteralsFromOptimizedCodeMap(index); function_info->GetLiteralsFromOptimizedCodeMap(index);
if (literals != NULL) result->set_literals(literals); if (literals != NULL) result->set_literals(literals);
Code* code = function_info->GetCodeFromOptimizedCodeMap(index); Code* code = function_info->GetCodeFromOptimizedCodeMap(index);
ASSERT(!code->marked_for_deoptimization());
result->ReplaceCode(code); result->ReplaceCode(code);
return result; return result;
} }
......
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