Index: src/arm/simulator-arm.cc |
=================================================================== |
--- src/arm/simulator-arm.cc (revision 9327) |
+++ src/arm/simulator-arm.cc (working copy) |
@@ -1618,6 +1618,8 @@ |
ProcessPUW(instr, num_regs, kPointerSize, &start_address, &end_address); |
intptr_t* address = reinterpret_cast<intptr_t*>(start_address); |
+ // Catch null pointers a little earlier. |
+ ASSERT(start_address > 8191 || start_address < 0); |
int reg = 0; |
while (rlist != 0) { |
if ((rlist & 1) != 0) { |