Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 572bad96c8a3a4a7991295cde3fba720d37db68b..55f48334c198713501459893b1d790ffa20f2b00 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -101,6 +101,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) \ |
@@ -123,6 +134,7 @@ namespace internal { |
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. |
@@ -507,6 +519,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 |