Revert of [debugger] Prevent shared function info duplicates (patchset #1 id:1 of https://codereview.chromium.org/1958153004/ )
Reason for revert:
[Sheriff] Speculative revert for https://build.chromium.org/p/client.v8.fyi/builders/V8-Blink%20Linux%2064/builds/6700
Yang can tell you how to do the blink rebase dance if it was this CL.
Original issue's description:
> [debugger] Prevent shared function info duplicates
>
> Clear the list of shared function infos attached to a script before
> compiling for live edit in order to avoid duplicates. This was lost in
> 058deb2713
.
>
> R=yangguo@chromium.org
> BUG=
>
> Committed: https://crrev.com/592432977e6213364c243c396060c7b64687ddc3
> Cr-Commit-Position: refs/heads/master@{#36155}
TBR=yangguo@chromium.org,jgruber@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=
Review-Url: https://codereview.chromium.org/1973433002
Cr-Commit-Position: refs/heads/master@{#36165}
This commit is contained in:
parent
2973730190
commit
f4dd8ec37b
@ -1217,9 +1217,6 @@ bool Compiler::CompileForLiveEdit(Handle<Script> script) {
|
||||
Isolate* isolate = script->GetIsolate();
|
||||
DCHECK(AllowCompilation::IsAllowed(isolate));
|
||||
|
||||
// Get rid of old list of shared function infos.
|
||||
script->set_shared_function_infos(Smi::FromInt(0));
|
||||
|
||||
// Start a compilation.
|
||||
Zone zone(isolate->allocator());
|
||||
ParseInfo parse_info(&zone, script);
|
||||
|
Loading…
Reference in New Issue
Block a user