Chromium Code Reviews| Index: src/compiler/register-allocator-verifier.cc |
| diff --git a/src/compiler/register-allocator-verifier.cc b/src/compiler/register-allocator-verifier.cc |
| index f35cb266a91422940d885c96cc1f0d1e2b40ceb0..5ca54da052223391dc18e1eca7ec07d21e31de44 100644 |
| --- a/src/compiler/register-allocator-verifier.cc |
| +++ b/src/compiler/register-allocator-verifier.cc |
| @@ -284,7 +284,7 @@ void BlockAssessments::PerformParallelMoves(const ParallelMove* moves) { |
| // parallel move. |
| // TODO(mtrofin): this check fails when generating code for |
|
Benedikt Meurer
2016/04/23 12:04:49
Remove the TODO here.
Mircea Trofin
2016/04/23 16:27:07
Done.
|
| // CodeStubAssembler::ChangeUint32ToTagged. |
| - // CHECK(map_for_moves_.find(move->destination()) == map_for_moves_.end()); |
| + CHECK(map_for_moves_.find(move->destination()) == map_for_moves_.end()); |
| // Copy the assessment to the destination. |
| map_for_moves_[move->destination()] = it->second; |
| } |
| @@ -418,7 +418,7 @@ void RegisterAllocatorVerifier::ValidatePendingAssessment( |
| case Pending: { |
| // This happens if we have a diamond feeding into another one, and |
| // the inner one never being used - other than for carrying the value. |
| - PendingAssessment* next = PendingAssessment::cast(contribution); |
| + const PendingAssessment* next = PendingAssessment::cast(contribution); |
| if (seen.find(pred) == seen.end()) { |
| worklist.push({next, expected}); |
| seen.insert(pred); |