| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index c1d051b3d74e94f94deaf218c2831c20823896a0..07a054ae85a26a0c4ac948784e9b231650b6e885 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -104,6 +104,17 @@ namespace internal {
|
| #define CODE_STUB_LIST_ARM64(V)
|
| #endif
|
|
|
| +// List of code stubs only used on PPC platforms.
|
| +#ifdef V8_TARGET_ARCH_PPC
|
| +#define CODE_STUB_LIST_PPC(V) \
|
| + V(GetProperty) \
|
| + V(SetProperty) \
|
| + V(InvokeBuiltin) \
|
| + V(DirectCEntry)
|
| +#else
|
| +#define CODE_STUB_LIST_PPC(V)
|
| +#endif
|
| +
|
| // List of code stubs only used on MIPS platforms.
|
| #if V8_TARGET_ARCH_MIPS
|
| #define CODE_STUB_LIST_MIPS(V) \
|
| @@ -122,10 +133,11 @@ namespace internal {
|
| #endif
|
|
|
| // Combined list of code stubs.
|
| -#define CODE_STUB_LIST(V) \
|
| - CODE_STUB_LIST_ALL_PLATFORMS(V) \
|
| - CODE_STUB_LIST_ARM(V) \
|
| - CODE_STUB_LIST_ARM64(V) \
|
| +#define CODE_STUB_LIST(V) \
|
| + CODE_STUB_LIST_ALL_PLATFORMS(V) \
|
| + CODE_STUB_LIST_ARM(V) \
|
| + CODE_STUB_LIST_ARM64(V) \
|
| + CODE_STUB_LIST_PPC(V) \
|
| CODE_STUB_LIST_MIPS(V)
|
|
|
| // Stub is base classes of all stubs.
|
| @@ -511,6 +523,8 @@ class RuntimeCallHelper {
|
| #include "src/arm64/code-stubs-arm64.h"
|
| #elif V8_TARGET_ARCH_ARM
|
| #include "src/arm/code-stubs-arm.h"
|
| +#elif V8_TARGET_ARCH_PPC
|
| +#include "src/ppc/code-stubs-ppc.h"
|
| #elif V8_TARGET_ARCH_MIPS
|
| #include "src/mips/code-stubs-mips.h"
|
| #elif V8_TARGET_ARCH_MIPS64
|
|
|