Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index 12c5a0d84f3567a2690bdd0fb1e6bee107f6e81d..d300e0195a217d74da54d7d90253909c7431c531 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -136,7 +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, FIELD, 0).AsSmi()); |
+ details->set(1, PropertyDetails(NONE, DATA, 0).AsSmi()); |
return *isolate->factory()->NewJSArrayWithElements(details); |
} |
@@ -158,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, FIELD, 0) |
+ ? PropertyDetails(NONE, DATA, 0) |
: it.property_details(); |
details->set(1, d.AsSmi()); |
details->set( |