Index: src/arm64/stub-cache-arm64.cc |
diff --git a/src/arm64/stub-cache-arm64.cc b/src/arm64/stub-cache-arm64.cc |
index 60f6137b91b3c30219426b396439f65ffaa10901..7ac68e79a5b1c3eebc1b27e8006f586563bc7b50 100644 |
--- a/src/arm64/stub-cache-arm64.cc |
+++ b/src/arm64/stub-cache-arm64.cc |
@@ -797,6 +797,13 @@ void NamedStoreHandlerCompiler::FrontendFooter(Handle<Name> name, Label* miss) { |
} |
+void NamedLoadHandlerCompiler::GenerateLoadConstant(Handle<Object> value) { |
+ // Return the constant value. |
+ __ LoadObject(x0, value); |
+ __ Ret(); |
+} |
+ |
+ |
void NamedLoadHandlerCompiler::GenerateLoadCallback( |
Register reg, Handle<ExecutableAccessorInfo> callback) { |
DCHECK(!AreAliased(scratch2(), scratch3(), scratch4(), reg)); |