Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index 42e60127b8b18dce3fd9f3ee4f81dfae16d762d7..a7bca97a964553977010b2211b4cb71fd531dcf4 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -138,7 +138,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, DATA, 0).AsSmi()); |
+ details->set(1, PropertyDetails::Empty().AsSmi()); |
return *isolate->factory()->NewJSArrayWithElements(details); |
} |
@@ -160,7 +160,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, DATA, 0) |
+ ? PropertyDetails::Empty() |
: it.property_details(); |
details->set(1, d.AsSmi()); |
details->set( |