Commit c819a1e2 authored by bmeurer's avatar bmeurer Committed by Commit bot

[TypeFeedbackVector] Properly ignore binary/compare op slots for FCG.

Fix a typo in TypeFeedbackVector::ComputeCounts, where we would not
skip the interpreter binary/compare op IC slots for fullcodegen, and
thus mess up the heuristics for tearing up.

TBR=mvstanton@chromium.org

Review-Url: https://codereview.chromium.org/2353513006
Cr-Commit-Position: refs/heads/master@{#39560}
parent 445e766f
......@@ -170,7 +170,7 @@ void TypeFeedbackVector::ComputeCounts(int* with_type_info, int* generic,
// interpreter.
// TODO(mvstanton): Remove code_is_interpreted when full code
// is retired from service.
if (code_is_interpreted) continue;
if (!code_is_interpreted) continue;
DCHECK(obj->IsSmi());
int op_feedback = static_cast<int>(Smi::cast(obj)->value());
......
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