Chromium Code Reviews| Index: src/ast.cc |
| diff --git a/src/ast.cc b/src/ast.cc |
| index ac81e751afb31f1ea89e8e47ac1cd68c6b198e2b..7a7e3d37fccf6a7a0e60aa6c4a9d7b23cca55714 100644 |
| --- a/src/ast.cc |
| +++ b/src/ast.cc |
| @@ -334,6 +334,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); |
| } |