Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index 13c282da9e6a8a4058dc084eb974ad72118f4b8a..c6c1f1df9bbf7e96bf7e9c11fda9817a9d5c82ea 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -379,8 +379,8 @@ void Deoptimizer::DeoptimizeMarkedCodeForContext(Context* context) { |
CHECK_EQ(code->kind(), Code::OPTIMIZED_FUNCTION); |
Object* next = code->next_code_link(); |
- if (code->marked_for_deoptimization() && |
- (!code->is_turbofanned() || FLAG_turbo_deoptimization)) { |
+ if (code->marked_for_deoptimization()) { |
+ DCHECK(!code->is_turbofanned() || FLAG_turbo_deoptimization); |
// Put the code into the list for later patching. |
codes.Add(code, &zone); |