[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:
parent
445e766fb8
commit
c819a1e228
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user