Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index a68a07435c335a8be18d795cbc597f6266a328db..edb657c53dc95bf61544acb3275266480d55976c 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -682,8 +682,10 @@ Handle<FixedArray> GetEnumPropertyKeys(Handle<JSObject> object, |
if (field_index >= map->inobject_properties()) { |
field_index = -(field_index - map->inobject_properties() + 1); |
} |
- field_index = (field_index << 1) |
- | details.representation().IsDouble(); |
+ field_index = field_index << 1; |
+ if (details.representation().IsDouble()) { |
+ field_index |= 1; |
+ } |
indices->set(index, Smi::FromInt(field_index)); |
} |
} |