Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index e71692592a12faa10c84be01279a8c472213b536..6ecc0771ec83146d0d623e6058dcf0fd16f8ec0e 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()) { |