| Index: src/serialize.cc
|
| diff --git a/src/serialize.cc b/src/serialize.cc
|
| index 01c55a1226efedc5cca0d8bc1f80ad99dede6ba4..254cd5ee597ecbdc3cf667a42552977ffd69ab95 100644
|
| --- a/src/serialize.cc
|
| +++ b/src/serialize.cc
|
| @@ -1161,16 +1161,16 @@ void Deserializer::ReadData(Object** current, Object** limit, int source_space,
|
| // allocation point and write a pointer to it to the current object.
|
| ALL_SPACES(kBackref, kPlain, kStartOfObject)
|
| ALL_SPACES(kBackrefWithSkip, kPlain, kStartOfObject)
|
| -#if defined(V8_TARGET_ARCH_MIPS) || V8_OOL_CONSTANT_POOL || \
|
| - defined(V8_TARGET_ARCH_MIPS64)
|
| +#if defined(V8_TARGET_ARCH_MIPS) || defined(V8_TARGET_ARCH_MIPS64) || \
|
| + defined(V8_TARGET_ARCH_PPC) || V8_OOL_CONSTANT_POOL
|
| // Deserialize a new object from pointer found in code and write
|
| - // a pointer to it to the current object. Required only for MIPS or ARM
|
| - // with ool constant pool, and omitted on the other architectures because
|
| - // it is fully unrolled and would cause bloat.
|
| + // a pointer to it to the current object. Required only for MIPS, PPC or
|
| + // ARM with ool constant pool, and omitted on the other architectures
|
| + // because it is fully unrolled and would cause bloat.
|
| ALL_SPACES(kNewObject, kFromCode, kStartOfObject)
|
| // Find a recently deserialized code object using its offset from the
|
| // current allocation point and write a pointer to it to the current
|
| - // object. Required only for MIPS or ARM with ool constant pool.
|
| + // object. Required only for MIPS, PPC or ARM with ool constant pool.
|
| ALL_SPACES(kBackref, kFromCode, kStartOfObject)
|
| ALL_SPACES(kBackrefWithSkip, kFromCode, kStartOfObject)
|
| #endif
|
| @@ -1187,7 +1187,7 @@ void Deserializer::ReadData(Object** current, Object** limit, int source_space,
|
| CASE_STATEMENT(kRootArray, kPlain, kStartOfObject, 0)
|
| CASE_BODY(kRootArray, kPlain, kStartOfObject, 0)
|
| #if defined(V8_TARGET_ARCH_MIPS) || V8_OOL_CONSTANT_POOL || \
|
| - defined(V8_TARGET_ARCH_MIPS64)
|
| + defined(V8_TARGET_ARCH_MIPS64) || defined(V8_TARGET_ARCH_PPC)
|
| // Find an object in the roots array and write a pointer to it to in code.
|
| CASE_STATEMENT(kRootArray, kFromCode, kStartOfObject, 0)
|
| CASE_BODY(kRootArray, kFromCode, kStartOfObject, 0)
|
|
|