Chromium Code Reviews| Index: src/spaces.cc |
| =================================================================== |
| --- src/spaces.cc (revision 5008) |
| +++ src/spaces.cc (working copy) |
| @@ -2305,8 +2305,8 @@ |
| } |
| ASSERT(code->instruction_start() <= prev_pc && |
| - prev_pc <= code->relocation_start()); |
| - delta += static_cast<int>(code->relocation_start() - prev_pc); |
| + prev_pc <= code->instruction_end()); |
| + delta += static_cast<int>(code->instruction_end() - prev_pc); |
| EnterComment("NoComment", delta); |
| } |
| } |