Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 887ab3192d24fe1e64c76b89f910643078d330e2..2ac3d520dbfbbba913f20e1e3e729223caf54de0 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5932,7 +5932,7 @@ |
if (object->IsJSObject()) { |
LookupIterator it(object, info->name(), |
LookupIterator::OWN_SKIP_INTERCEPTOR); |
- Handle<Object> value = JSReceiver::GetDataProperty(&it); |
+ Handle<Object> value = JSObject::GetDataProperty(&it); |
if (it.IsFound() && it.IsReadOnly() && !it.IsConfigurable()) { |
return New<HConstant>(value); |
} |