Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 3ca301ca6c3a6c215097d6f0afbfa575e5df08e7..47e7ddb8263d5f18da695a004ecfc6bf2fcd60ef 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -625,6 +625,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( |