Index: src/snapshot/deserializer.h |
diff --git a/src/snapshot/deserializer.h b/src/snapshot/deserializer.h |
index 550cf5c64f1a1a4a4c42960940622fd0333660f6..58c481cc7983d40c1907d7eaa9a3efbce346d36d 100644 |
--- a/src/snapshot/deserializer.h |
+++ b/src/snapshot/deserializer.h |
@@ -13,6 +13,16 @@ |
namespace v8 { |
namespace internal { |
+// Used for platforms with embedded constant pools to trigger deserialization |
+// of objects found in code. |
+#if defined(V8_TARGET_ARCH_MIPS) || defined(V8_TARGET_ARCH_MIPS64) || \ |
+ defined(V8_TARGET_ARCH_PPC) || defined(V8_TARGET_ARCH_S390) || \ |
+ V8_EMBEDDED_CONSTANT_POOL |
+#define V8_CODE_EMBEDS_OBJECT_POINTER 1 |
+#else |
+#define V8_CODE_EMBEDS_OBJECT_POINTER 0 |
+#endif |
+ |
class Heap; |
// A Deserializer reads a snapshot and reconstructs the Object graph it defines. |