Commit 9eea3ef5 authored by yangguo's avatar yangguo Committed by Commit bot

Debugger: clear shared function info list when recompiling for liveedit.

R=bmeurer@chromium.org
BUG=chromium:517594
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#30111}
parent a8fba0f6
......@@ -1054,6 +1054,7 @@ void Compiler::CompileForLiveEdit(Handle<Script> script) {
VMState<COMPILER> state(info.isolate());
// Get rid of old list of shared function infos.
script->set_shared_function_infos(Smi::FromInt(0));
info.MarkAsFirstCompile();
info.parse_info()->set_global();
if (!Parser::ParseStatic(info.parse_info())) return;
......
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