Index: src/compiler/code-generator.cc |
diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc |
index 72c6ec984af552e9528ee8f126c64f2557e20c50..3a56ece0c0cf794fe97a4a53ea562d875d2df43d 100644 |
--- a/src/compiler/code-generator.cc |
+++ b/src/compiler/code-generator.cc |
@@ -281,7 +281,7 @@ void CodeGenerator::PopulateDeoptimizationData(Handle<Code> code_object) { |
for (int i = 0; i < deopt_count; i++) { |
DeoptimizationState* deoptimization_state = deoptimization_states_[i]; |
data->SetAstId(i, deoptimization_state->bailout_id()); |
- CHECK_NE(NULL, deoptimization_states_[i]); |
+ CHECK(deoptimization_states_[i]); |
data->SetTranslationIndex( |
i, Smi::FromInt(deoptimization_states_[i]->translation_id())); |
data->SetArgumentsStackHeight(i, Smi::FromInt(0)); |