Commit 7b693cc4 authored by yangguo's avatar yangguo Committed by Commit bot

[interpreter] Fix test-serialize/SerializeToplevelIsolates.

R=rmcilroy@chromium.org
BUG=v8:4680
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#34389}
parent d9fe836d
......@@ -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);
}
......
......@@ -521,9 +521,6 @@
'test-debug/StepInOutBranch': [FAIL],
'test-debug/DebugStepFunctionCall': [FAIL],
# TODO(rmcilroy,4680): Check failed: toplevel_test_code_event_found.
'test-serialize/SerializeToplevelIsolates': [FAIL],
# BUG(4333). Function name inferrer does not work for ES6 clases.
'test-func-name-inference/UpperCaseClass': [TIMEOUT],
'test-func-name-inference/LowerCaseClass': [TIMEOUT],
......
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