Reviewers: Jakob,

Description:
Restore function on arm64

[email protected]
BUG=

Please review this at https://codereview.chromium.org/440373002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+7, -0 lines):
  M src/arm64/stub-cache-arm64.cc


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));


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to