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

Unified Diff: src/field-index-inl.h

Issue 2758563002: [gn] Enable stricter build flags (Closed)
Patch Set: Fix one last unused variable error Created 3 years, 9 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
Index: src/field-index-inl.h
diff --git a/src/field-index-inl.h b/src/field-index-inl.h
index a728eb39df55390342ba450f8079d1f9e6178fb5..c20d778e71ffa31176e9fcddc1155228e904c30c 100644
--- a/src/field-index-inl.h
+++ b/src/field-index-inl.h
@@ -43,7 +43,7 @@ inline FieldIndex FieldIndex::ForPropertyIndex(Map* map,
// FieldIndex object from it.
inline FieldIndex FieldIndex::ForLoadByFieldIndex(Map* map, int orig_index) {
int field_index = orig_index;
- int is_inobject = true;
+ bool is_inobject = true;
bool is_double = field_index & 1;
int first_inobject_offset = 0;
field_index >>= 1;

Powered by Google App Engine
This is Rietveld 408576698