Chromium Code Reviews| Index: src/ast.cc |
| diff --git a/src/ast.cc b/src/ast.cc |
| index f8289311c47812f56e4249678339e0b9f6b80ca0..8caf9c2a29ec4cc4b1bf33b3eaacd06ecbf5501a 100644 |
| --- a/src/ast.cc |
| +++ b/src/ast.cc |
| @@ -368,6 +368,7 @@ void ObjectLiteral::BuildConstantProperties(Isolate* isolate) { |
| constant_properties_ = constant_properties; |
| fast_elements_ = |
| (max_element_index <= 32) || ((2 * elements) >= max_element_index); |
| + has_elements_ = elements > 0; |
| set_is_simple(is_simple); |
| set_depth(depth_acc); |
| } |