Index: src/compiler/register-allocator-verifier.cc |
diff --git a/src/compiler/register-allocator-verifier.cc b/src/compiler/register-allocator-verifier.cc |
index 36bd80deea179732b7db3414f05d27419aca1ad5..0bc6a32d78fa9ae11ed6cedb4ae778fd7893ff1c 100644 |
--- a/src/compiler/register-allocator-verifier.cc |
+++ b/src/compiler/register-allocator-verifier.cc |
@@ -469,7 +469,9 @@ void RegisterAllocatorVerifier::ValidateFinalAssessment( |
// is virtual_register. |
const PendingAssessment* old = assessment->original_pending_assessment(); |
CHECK_NOT_NULL(old); |
- ValidatePendingAssessment(block_id, op, current_assessments, old, |
+ RpoNumber old_block = old->origin()->rpo_number(); |
+ BlockAssessments* old_block_assessments = assessments_[old_block]; |
+ ValidatePendingAssessment(old_block, op, old_block_assessments, old, |
virtual_register); |
} |