Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index a6ae92a892c06ac9dcc88ecf093a0201e9f0eb12..699e90f75b1ed46b912473f5fe77c8fc8ca52bdf 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -1227,6 +1227,12 @@ Handle<Code> LoadIC::CompileHandler(LookupIterator* lookup, |
FieldIndex index = FieldIndex::ForInObjectOffset(object_offset, *map); |
return SimpleFieldLoad(index); |
} |
+ if (Accessors::IsJSArrayBufferViewFieldAccessor(map, lookup->name(), |
+ &object_offset)) { |
+ FieldIndex index = FieldIndex::ForInObjectOffset(object_offset, *map); |
+ ArrayBufferViewLoadFieldStub stub(isolate(), index); |
+ return stub.GetCode(); |
+ } |
Handle<Object> accessors = lookup->GetAccessors(); |
if (accessors->IsExecutableAccessorInfo()) { |