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

Unified Diff: src/compiler/ppc/code-generator-ppc.cc

Issue 1575103002: PPC: [wasm] Fixes for embedded constant pools. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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 | src/crankshaft/ppc/lithium-codegen-ppc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/ppc/code-generator-ppc.cc
diff --git a/src/compiler/ppc/code-generator-ppc.cc b/src/compiler/ppc/code-generator-ppc.cc
index 8ceb159534d8ca56c6c2cdb847a65dd6f1a9c983..d499f5dcb8f194845eeb3815b07870807fd1eef2 100644
--- a/src/compiler/ppc/code-generator-ppc.cc
+++ b/src/compiler/ppc/code-generator-ppc.cc
@@ -1544,8 +1544,11 @@ void CodeGenerator::AssemblePrologue() {
}
} else if (descriptor->IsJSFunctionCall()) {
CompilationInfo* info = this->info();
- __ Prologue(info->IsCodePreAgingActive());
+ __ Prologue(info->IsCodePreAgingActive(), ip);
} else if (frame()->needs_frame()) {
+ // TODO(mbrandy): Detect the case where we're not generating an
+ // exported wasm function -- so that we can leverage ip to set up
+ // the constant pool pointer register (via StubPrologue(ip)).
__ StubPrologue();
MTBrandyberry 2016/01/11 18:10:04 wasm owners: Is there a condition would would dete
} else {
frame()->SetElidedFrameSizeInSlots(0);
« no previous file with comments | « no previous file | src/crankshaft/ppc/lithium-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698