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

Unified Diff: src/crankshaft/ppc/lithium-codegen-ppc.cc

Issue 1406113007: Merge GlobalObject with JSGlobalObject. (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/crankshaft/mips64/lithium-codegen-mips64.cc ('k') | src/crankshaft/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/crankshaft/ppc/lithium-codegen-ppc.cc
diff --git a/src/crankshaft/ppc/lithium-codegen-ppc.cc b/src/crankshaft/ppc/lithium-codegen-ppc.cc
index fabb9bbcdacf56c96951c4fd150e861b07186a86..a093f34a1c5ffd1ed7e4da2b106c76a25e275aba 100644
--- a/src/crankshaft/ppc/lithium-codegen-ppc.cc
+++ b/src/crankshaft/ppc/lithium-codegen-ppc.cc
@@ -129,7 +129,7 @@ bool LCodeGen::GeneratePrologue() {
__ bne(&ok);
__ LoadP(r5, GlobalObjectOperand());
- __ LoadP(r5, FieldMemOperand(r5, GlobalObject::kGlobalProxyOffset));
+ __ LoadP(r5, FieldMemOperand(r5, JSGlobalObject::kGlobalProxyOffset));
__ StoreP(r5, MemOperand(sp, receiver_offset));
@@ -3503,7 +3503,7 @@ void LCodeGen::DoWrapReceiver(LWrapReceiver* instr) {
__ bind(&global_object);
__ LoadP(result, FieldMemOperand(function, JSFunction::kContextOffset));
__ LoadP(result, ContextOperand(result, Context::GLOBAL_OBJECT_INDEX));
- __ LoadP(result, FieldMemOperand(result, GlobalObject::kGlobalProxyOffset));
+ __ LoadP(result, FieldMemOperand(result, JSGlobalObject::kGlobalProxyOffset));
if (result.is(receiver)) {
__ bind(&result_in_receiver);
} else {
« no previous file with comments | « src/crankshaft/mips64/lithium-codegen-mips64.cc ('k') | src/crankshaft/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698