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