| Index: src/ast/ast.cc
|
| diff --git a/src/ast/ast.cc b/src/ast/ast.cc
|
| index e8b6269648ed394e27dc2af919c4f9db8e49b6fa..a40497e7eac9157e27c9cf7748b924d801e44803 100644
|
| --- a/src/ast/ast.cc
|
| +++ b/src/ast/ast.cc
|
| @@ -452,10 +452,9 @@ void ObjectLiteral::BuildConstantProperties(Isolate* isolate) {
|
| Handle<Object> value = GetBoilerplateValue(property->value(), isolate);
|
|
|
| // Ensure objects that may, at any point in time, contain fields with double
|
| - // representation are always treated as nested objects. This is true for
|
| - // computed fields (value is undefined), and smi and double literals
|
| - // (value->IsNumber()).
|
| - // TODO(verwaest): Remove once we can store them inline.
|
| + // representation are treated as nested objects if they are not unboxed.
|
| + // This is true for computed fields (value is undefined), and smi and double
|
| + // literals (value->IsNumber()).
|
| if (FLAG_track_double_fields &&
|
| (value->IsNumber() || value->IsUninitialized())) {
|
| may_store_doubles_ = true;
|
|
|