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

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

Issue 1481353002: X87: [runtime] Replace global object link with native context link in all contexts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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 | « src/ic/x87/handler-compiler-x87.cc ('k') | src/x87/code-stubs-x87.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x87/builtins-x87.cc
diff --git a/src/x87/builtins-x87.cc b/src/x87/builtins-x87.cc
index 6c1fbf8b79da31f333fa2e48776bc498e08e060b..cf4db79efc1984163cf9cd28d9b6fd473916d9ef 100644
--- a/src/x87/builtins-x87.cc
+++ b/src/x87/builtins-x87.cc
@@ -1922,8 +1922,8 @@ void Builtins::Generate_HandleFastApiCall(MacroAssembler* masm) {
__ jmp(edx);
__ bind(&set_global_proxy);
- __ mov(ecx, GlobalObjectOperand());
- __ mov(ecx, FieldOperand(ecx, JSGlobalObject::kGlobalProxyOffset));
+ __ mov(ecx, NativeContextOperand());
+ __ mov(ecx, ContextOperand(ecx, Context::GLOBAL_PROXY_INDEX));
__ mov(receiver_operand, ecx);
__ jmp(&valid_receiver, Label::kNear);
« no previous file with comments | « src/ic/x87/handler-compiler-x87.cc ('k') | src/x87/code-stubs-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698