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

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

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
« no previous file with comments | « src/compiler/register-allocator.cc ('k') | src/compiler/register-allocator-verifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/register-allocator-verifier.h
diff --git a/src/compiler/register-allocator-verifier.h b/src/compiler/register-allocator-verifier.h
index 251840658ce97781c08e4f222fa8829e37aa7ff4..06d9029a54f37c9f14ecef0ade8e4294b30165a5 100644
--- a/src/compiler/register-allocator-verifier.h
+++ b/src/compiler/register-allocator-verifier.h
@@ -74,9 +74,9 @@ class PendingAssessment final : public Assessment {
InstructionOperand operand)
: Assessment(Pending), origin_(origin), operand_(operand) {}
- static PendingAssessment* cast(Assessment* assessment) {
+ static const PendingAssessment* cast(const Assessment* assessment) {
CHECK(assessment->kind() == Pending);
- return static_cast<PendingAssessment*>(assessment);
+ return static_cast<const PendingAssessment*>(assessment);
}
const InstructionBlock* origin() const { return origin_; }
« no previous file with comments | « src/compiler/register-allocator.cc ('k') | src/compiler/register-allocator-verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698