Index: src/snapshot/serialize.cc |
diff --git a/src/snapshot/serialize.cc b/src/snapshot/serialize.cc |
index ad7f42838454ba04f4c01fd931a92b8fa15c91a1..f7b5ae81c52a8e131d0ef46d9b7bbb9e94ac1903 100644 |
--- a/src/snapshot/serialize.cc |
+++ b/src/snapshot/serialize.cc |
@@ -2632,9 +2632,8 @@ MaybeHandle<SharedFunctionInfo> CodeSerializer::Deserialize( |
Script* script = Script::cast(result->script()); |
if (script->name()->IsString()) name = String::cast(script->name()); |
} |
- isolate->logger()->CodeCreateEvent(Logger::SCRIPT_TAG, |
- AbstractCode::cast(result->code()), |
- *result, NULL, name); |
+ isolate->logger()->CodeCreateEvent( |
+ Logger::SCRIPT_TAG, result->abstract_code(), *result, NULL, name); |
} |
return scope.CloseAndEscape(result); |
} |