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_; } |