Commit 946354a7 authored by danno's avatar danno Committed by Commit bot

Ensure no lazy deopts into TurboFan code with deopt entries with no AstID

BUG=595259
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#34868}
parent 6bdb9705
......@@ -14471,7 +14471,9 @@ bool Code::CanDeoptAt(Address pc) {
for (int i = 0; i < deopt_data->DeoptCount(); i++) {
if (deopt_data->Pc(i)->value() == -1) continue;
Address address = code_start_address + deopt_data->Pc(i)->value();
if (address == pc) return true;
if (address == pc && deopt_data->AstId(i) != BailoutId::None()) {
return true;
}
}
return false;
}
......
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