Commit b8fab1cf authored by verwaest@chromium.org's avatar verwaest@chromium.org

Don't | int and bool

BUG=
R=ishell@chromium.org

Review URL: https://codereview.chromium.org/219293002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20352 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 617531da
......@@ -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));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment