Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 199f24312173af5b1996987f402b845a415fa7f3..1cad14eefb8c460bcb1868d801773d45293efbc4 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -167,13 +167,24 @@ namespace internal { |
#define CODE_STUB_LIST_MIPS(V) |
#endif |
+// List of code stubs only used on S390 platforms. |
+#ifdef V8_TARGET_ARCH_S390 |
+#define CODE_STUB_LIST_S390(V) \ |
+ V(DirectCEntry) \ |
+ V(StoreRegistersState) \ |
+ V(RestoreRegistersState) |
+#else |
+#define CODE_STUB_LIST_S390(V) |
+#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) \ |
CODE_STUB_LIST_PPC(V) \ |
- CODE_STUB_LIST_MIPS(V) |
+ CODE_STUB_LIST_MIPS(V) \ |
+ CODE_STUB_LIST_S390(V) |
static const int kHasReturnedMinusZeroSentinel = 1; |
@@ -593,6 +604,8 @@ class RuntimeCallHelper { |
#include "src/mips/code-stubs-mips.h" |
#elif V8_TARGET_ARCH_MIPS64 |
#include "src/mips64/code-stubs-mips64.h" |
+#elif V8_TARGET_ARCH_S390 |
+#include "src/s390/code-stubs-s390.h" |
#elif V8_TARGET_ARCH_X87 |
#include "src/x87/code-stubs-x87.h" |
#else |