diff options
Diffstat (limited to 'compiler/optimizing/code_generator.h')
-rw-r--r-- | compiler/optimizing/code_generator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h index 1d7a5222bc..f906eb8c05 100644 --- a/compiler/optimizing/code_generator.h +++ b/compiler/optimizing/code_generator.h @@ -171,7 +171,7 @@ class CodeGenerator : public ArenaObject<kArenaAllocMisc> { static bool StoreNeedsWriteBarrier(Primitive::Type type, HInstruction* value) { if (kIsDebugBuild) { if (type == Primitive::kPrimNot && value->IsIntConstant()) { - CHECK(value->AsIntConstant()->GetValue() == 0); + CHECK_EQ(value->AsIntConstant()->GetValue(), 0); } } return type == Primitive::kPrimNot && !value->IsIntConstant(); |