[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}
This commit is contained in:
bmeurer 2016-09-20 10:48:50 -07:00 committed by Commit bot
parent 445e766fb8
commit c819a1e228

View File

@ -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());