| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 12f0cdac6b7faef80bc5f2d8299560696f315a47..786dee46f35ed9122a6577057d572b899c3ce6a1 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -969,28 +969,32 @@ bool Genesis::InitializeGlobal(Handle<GlobalObject> inner_global,
|
| // ECMA-262, section 15.10.7.1.
|
| FieldDescriptor field(heap->source_string(),
|
| JSRegExp::kSourceFieldIndex,
|
| - final);
|
| + final,
|
| + Representation::Tagged());
|
| initial_map->AppendDescriptor(&field, witness);
|
| }
|
| {
|
| // ECMA-262, section 15.10.7.2.
|
| FieldDescriptor field(heap->global_string(),
|
| JSRegExp::kGlobalFieldIndex,
|
| - final);
|
| + final,
|
| + Representation::Tagged());
|
| initial_map->AppendDescriptor(&field, witness);
|
| }
|
| {
|
| // ECMA-262, section 15.10.7.3.
|
| FieldDescriptor field(heap->ignore_case_string(),
|
| JSRegExp::kIgnoreCaseFieldIndex,
|
| - final);
|
| + final,
|
| + Representation::Tagged());
|
| initial_map->AppendDescriptor(&field, witness);
|
| }
|
| {
|
| // ECMA-262, section 15.10.7.4.
|
| FieldDescriptor field(heap->multiline_string(),
|
| JSRegExp::kMultilineFieldIndex,
|
| - final);
|
| + final,
|
| + Representation::Tagged());
|
| initial_map->AppendDescriptor(&field, witness);
|
| }
|
| {
|
| @@ -999,7 +1003,8 @@ bool Genesis::InitializeGlobal(Handle<GlobalObject> inner_global,
|
| static_cast<PropertyAttributes>(DONT_ENUM | DONT_DELETE);
|
| FieldDescriptor field(heap->last_index_string(),
|
| JSRegExp::kLastIndexFieldIndex,
|
| - writable);
|
| + writable,
|
| + Representation::Tagged());
|
| initial_map->AppendDescriptor(&field, witness);
|
| }
|
|
|
| @@ -1151,7 +1156,8 @@ bool Genesis::InitializeGlobal(Handle<GlobalObject> inner_global,
|
| map->set_instance_descriptors(*descriptors);
|
|
|
| { // length
|
| - FieldDescriptor d(*factory->length_string(), 0, DONT_ENUM);
|
| + FieldDescriptor d(
|
| + *factory->length_string(), 0, DONT_ENUM, Representation::Tagged());
|
| map->AppendDescriptor(&d, witness);
|
| }
|
| { // callee
|
| @@ -1917,14 +1923,16 @@ bool Genesis::InstallNatives() {
|
| {
|
| FieldDescriptor index_field(heap()->index_string(),
|
| JSRegExpResult::kIndexIndex,
|
| - NONE);
|
| + NONE,
|
| + Representation::Tagged());
|
| initial_map->AppendDescriptor(&index_field, witness);
|
| }
|
|
|
| {
|
| FieldDescriptor input_field(heap()->input_string(),
|
| JSRegExpResult::kInputIndex,
|
| - NONE);
|
| + NONE,
|
| + Representation::Tagged());
|
| initial_map->AppendDescriptor(&input_field, witness);
|
| }
|
|
|
| @@ -2381,6 +2389,7 @@ void Genesis::TransferNamedProperties(Handle<JSObject> from,
|
| Handle<Object> callbacks(descs->GetCallbacksObject(i), isolate());
|
| PropertyDetails d = PropertyDetails(details.attributes(),
|
| CALLBACKS,
|
| + Representation::Tagged(),
|
| details.descriptor_index());
|
| JSObject::SetNormalizedProperty(to, key, callbacks, d);
|
| break;
|
|
|