Index: src/ppc/assembler-ppc-inl.h |
diff --git a/src/ppc/assembler-ppc-inl.h b/src/ppc/assembler-ppc-inl.h |
index 0e759efec16b475538a4ce7dffe409bbe8914bfe..d6302d43474722a4f15aab29ad3c453e68f7840e 100644 |
--- a/src/ppc/assembler-ppc-inl.h |
+++ b/src/ppc/assembler-ppc-inl.h |
@@ -597,12 +597,12 @@ void Assembler::PatchConstantPoolAccessInstruction( |
ConstantPoolEntry::Type type) { |
Address pc = buffer_ + pc_offset; |
bool overflowed = (access == ConstantPoolEntry::OVERFLOWED); |
+ CHECK(overflowed != is_int16(offset)); |
#ifdef DEBUG |
ConstantPoolEntry::Access access_check = |
static_cast<ConstantPoolEntry::Access>(-1); |
DCHECK(IsConstantPoolLoadStart(pc, &access_check)); |
DCHECK(access_check == access); |
- DCHECK(overflowed != is_int16(offset)); |
#endif |
if (overflowed) { |
int hi_word = static_cast<int>(offset >> 16); |