Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index af25700de72a7b6b8f1a69c14e9836d264d66cde..4510e8d5c50f00845b965f85756ecd5fa19f26dc 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5917,7 +5917,7 @@ HInstruction* HOptimizedGraphBuilder::BuildLoadNamedField( |
if (object->IsJSObject()) { |
LookupIterator it(object, info->name(), |
LookupIterator::OWN_SKIP_INTERCEPTOR); |
- Handle<Object> value = JSObject::GetDataProperty(&it); |
+ Handle<Object> value = JSReceiver::GetDataProperty(&it); |
if (it.IsFound() && it.IsReadOnly() && !it.IsConfigurable()) { |
return New<HConstant>(value); |
} |