Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Unified Diff: src/type-feedback-vector-inl.h

Issue 2353513006: [TypeFeedbackVector] Properly ignore binary/compare op slots for FCG. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/type-feedback-vector-inl.h
diff --git a/src/type-feedback-vector-inl.h b/src/type-feedback-vector-inl.h
index b35b07010f50b986f65764041416961554421f95..4a1c01f1bc9fc096d1f3d2d1ee42220bf09c19f7 100644
--- a/src/type-feedback-vector-inl.h
+++ b/src/type-feedback-vector-inl.h
@@ -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());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698