Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index cc31be148751020bde24818b425ea3fb99097a22..950d1e18bd6ee031970ee96bade0327e2edab24b 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -57,6 +57,9 @@ namespace internal { |
#if (V8_TARGET_ARCH_ARM && !V8_HOST_ARCH_ARM) |
#define USE_SIMULATOR 1 |
#endif |
+#if (V8_TARGET_ARCH_PPC && !V8_HOST_ARCH_PPC) |
+#define USE_SIMULATOR 1 |
+#endif |
#if (V8_TARGET_ARCH_MIPS && !V8_HOST_ARCH_MIPS) |
#define USE_SIMULATOR 1 |
#endif |
@@ -66,7 +69,11 @@ namespace internal { |
#endif |
// Determine whether the architecture uses an out-of-line constant pool. |
+#if V8_TARGET_ARCH_PPC |
+#define V8_OOL_CONSTANT_POOL 1 |
+#else |
#define V8_OOL_CONSTANT_POOL 0 |
+#endif |
// Support for alternative bool type. This is only enabled if the code is |
// compiled with USE_MYBOOL defined. This catches some nasty type bugs. |
@@ -618,6 +625,8 @@ enum CpuFeature { |
MIPSr6, |
// ARM64 |
ALWAYS_ALIGN_CSP, |
+ // PPC |
+ FPR_GPR_MOV, |
NUMBER_OF_CPU_FEATURES |
}; |