[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}
This commit is contained in:
yangguo 2016-03-01 05:46:55 -08:00 committed by Commit bot
parent d9fe836dd4
commit 7b693cc4ab
2 changed files with 2 additions and 6 deletions

View File

@ -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);
}

View File

@ -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],