[debugger] tentative fix for crash in FindSharedFunctionInfoInScript.
R=ulan@chromium.org BUG=chromium:567937 LOG=N Review URL: https://codereview.chromium.org/1584023003 Cr-Commit-Position: refs/heads/master@{#33298}
This commit is contained in:
parent
8c04c33f28
commit
f58ed31a1b
@ -1300,6 +1300,7 @@ Handle<Object> Debug::FindSharedFunctionInfoInScript(Handle<Script> script,
|
||||
closure = finder.ResultClosure();
|
||||
shared = finder.Result();
|
||||
}
|
||||
if (shared == NULL) break;
|
||||
HandleScope scope(isolate_);
|
||||
if (closure == NULL) {
|
||||
if (!Compiler::CompileDebugCode(handle(shared))) break;
|
||||
|
Loading…
Reference in New Issue
Block a user