Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: src/a64/builtins-a64.cc

Issue 142043013: A64: Load correct receiver in Generate_FunctionCall. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/a64/builtins-a64.cc
diff --git a/src/a64/builtins-a64.cc b/src/a64/builtins-a64.cc
index 403bb5fa8e82d487815d607580a830668adbb6ff..ee6654ab758fd22b31c29bfbb686bf4c3795693e 100644
--- a/src/a64/builtins-a64.cc
+++ b/src/a64/builtins-a64.cc
@@ -1080,6 +1080,7 @@ void Builtins::Generate_FunctionCall(MacroAssembler* masm) {
__ Bind(&use_global_receiver);
__ Ldr(x2, GlobalObjectMemOperand());
+ __ Ldr(x2, FieldMemOperand(x2, GlobalObject::kGlobalReceiverOffset));
__ Bind(&patch_receiver);
__ Sub(x10, x0, 1);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698