Chromium Code Reviews| Index: vm/intermediate_language.cc |
| =================================================================== |
| --- vm/intermediate_language.cc (revision 10621) |
| +++ vm/intermediate_language.cc (working copy) |
| @@ -312,8 +312,10 @@ |
| } |
| current->definition_ = other; |
| - current->next_use_ = other->use_list(); |
| - other->use_list()->previous_use_ = current; |
| + if (other->use_list() != NULL) { |
| + current->next_use_ = other->use_list(); |
| + other->use_list()->previous_use_ = current; |
| + } |
| other->set_use_list(head); |
| } |