Chromium Code Reviews| Index: src/spaces-inl.h |
| =================================================================== |
| --- src/spaces-inl.h (revision 516) |
| +++ src/spaces-inl.h (working copy) |
| @@ -308,7 +308,7 @@ |
| alloc_info->top = new_top; |
| #ifdef DEBUG |
| SemiSpace* space = |
| - (alloc_info == &allocation_info_) ? to_space_ : from_space_; |
| + (alloc_info == &allocation_info_) ? &to_space_ : &from_space_; |
| ASSERT(space->low() <= alloc_info->top |
| && alloc_info->top <= space->high() |
| && alloc_info->limit == space->high()); |