Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 9e9d29d075284656e76183b69e39f68ac417ad9f..65bcd4561063f23b7ec3053bcce6b24c2875636c 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -629,6 +629,18 @@ Handle<Code> LoadFieldStub::GenerateCode() { |
template <> |
+HValue* CodeStubGraphBuilder<ArrayBufferViewLoadFieldStub>::BuildCodeStub() { |
+ return BuildArrayBufferViewFieldAccessor(GetParameter(0), nullptr, |
+ casted_stub()->index()); |
+} |
+ |
+ |
+Handle<Code> ArrayBufferViewLoadFieldStub::GenerateCode() { |
+ return DoGenerateCode(this); |
+} |
+ |
+ |
+template <> |
HValue* CodeStubGraphBuilder<LoadConstantStub>::BuildCodeStub() { |
HValue* map = AddLoadMap(GetParameter(0), NULL); |
HObjectAccess descriptors_access = HObjectAccess::ForObservableJSObjectOffset( |