| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 4250529b55e529fd1f8debaac0aed9eff7488e11..244ed8b7e34d8c0997a4fff4b634e56725ffeba5 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -1177,12 +1177,7 @@ Handle<SharedFunctionInfo> Compiler::CompileScript(
|
| compile_options == ScriptCompiler::kConsumeCodeCache &&
|
| !isolate->debug()->is_loaded()) {
|
| HistogramTimerScope timer(isolate->counters()->compile_deserialize());
|
| - Handle<SharedFunctionInfo> result;
|
| - if (CodeSerializer::Deserialize(isolate, *cached_data, source)
|
| - .ToHandle(&result)) {
|
| - return result;
|
| - }
|
| - // Deserializer failed. Fall through to compile.
|
| + return CodeSerializer::Deserialize(isolate, *cached_data, source);
|
| } else {
|
| maybe_result = compilation_cache->LookupScript(
|
| source, script_name, line_offset, column_offset,
|
|
|