| Index: src/runtime/runtime-debug.cc
|
| diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc
|
| index 68d2f9e4777d0ef30b9e558345ef37039eca26cc..4a14a0f25496b5f8daadc8264313d846e2822079 100644
|
| --- a/src/runtime/runtime-debug.cc
|
| +++ b/src/runtime/runtime-debug.cc
|
| @@ -136,8 +136,7 @@ RUNTIME_FUNCTION(Runtime_DebugGetPropertyDetails) {
|
| isolate, element_or_char,
|
| Runtime::GetElementOrCharAt(isolate, obj, index));
|
| details->set(0, *element_or_char);
|
| - details->set(1,
|
| - PropertyDetails(NONE, NORMAL, Representation::None()).AsSmi());
|
| + details->set(1, PropertyDetails(NONE, FIELD, 0).AsSmi());
|
| return *isolate->factory()->NewJSArrayWithElements(details);
|
| }
|
|
|
| @@ -159,7 +158,7 @@ RUNTIME_FUNCTION(Runtime_DebugGetPropertyDetails) {
|
| details->set(0, *value);
|
| // TODO(verwaest): Get rid of this random way of handling interceptors.
|
| PropertyDetails d = it.state() == LookupIterator::INTERCEPTOR
|
| - ? PropertyDetails(NONE, NORMAL, 0)
|
| + ? PropertyDetails(NONE, FIELD, 0)
|
| : it.property_details();
|
| details->set(1, d.AsSmi());
|
| details->set(
|
| @@ -214,7 +213,7 @@ RUNTIME_FUNCTION(Runtime_DebugPropertyIndexFromDetails) {
|
| SealHandleScope shs(isolate);
|
| DCHECK(args.length() == 1);
|
| CONVERT_PROPERTY_DETAILS_CHECKED(details, 0);
|
| - // TODO(verwaest): Depends on the type of details.
|
| + // TODO(verwaest): Works only for dictionary mode holders.
|
| return Smi::FromInt(details.dictionary_index());
|
| }
|
|
|
|
|