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

Unified Diff: src/compiler/ppc/linkage-ppc.cc

Issue 1250723003: PPC: [interpreter] Add basic framework for bytecode handler code generation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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/compiler/ppc/linkage-ppc.cc
diff --git a/src/compiler/ppc/linkage-ppc.cc b/src/compiler/ppc/linkage-ppc.cc
index ebea4452aea62c7230ad263dff0e3de0dc89f50d..d9404bf89eae79ca3fc1d683d8cd51988ec52a6d 100644
--- a/src/compiler/ppc/linkage-ppc.cc
+++ b/src/compiler/ppc/linkage-ppc.cc
@@ -17,6 +17,8 @@ struct PPCLinkageHelperTraits {
static Register ReturnValue2Reg() { return r4; }
static Register JSCallFunctionReg() { return r4; }
static Register ContextReg() { return cp; }
+ static Register InterpreterBytecodePointerReg() { return r14; }
+ static Register InterpreterDispatchTableReg() { return r15; }
static Register RuntimeCallFunctionReg() { return r4; }
static Register RuntimeCallArgCountReg() { return r3; }
static RegList CCalleeSaveRegisters() {
@@ -68,9 +70,8 @@ CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone,
}
-CallDescriptor* Linkage::GetInterpreterDispatchDescriptor(
- Zone* zone, const MachineSignature* sig) {
- return LH::GetInterpreterDispatchDescriptor(zone, sig);
+CallDescriptor* Linkage::GetInterpreterDispatchDescriptor(Zone* zone) {
+ return LH::GetInterpreterDispatchDescriptor(zone);
}
} // namespace compiler
« 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