Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(662)

Unified Diff: src/compiler/register-allocator-verifier.cc

Issue 1912093005: [turbofan] Single entry into deferred regions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698