Chromium Code Reviews| Index: src/lithium-allocator.cc |
| =================================================================== |
| --- src/lithium-allocator.cc (revision 10091) |
| +++ src/lithium-allocator.cc (working copy) |
| @@ -234,7 +234,8 @@ |
| // at the current or the immediate next position. |
| UsePosition* use_pos = NextRegisterPosition(pos); |
| if (use_pos == NULL) return true; |
| - return use_pos->pos().Value() > pos.NextInstruction().Value(); |
| + return |
| + use_pos->pos().Value() > pos.NextInstruction().InstructionEnd().Value(); |
| } |