diff options
Diffstat (limited to 'compiler/optimizing')
-rw-r--r-- | compiler/optimizing/codegen_test.cc | 2 | ||||
-rw-r--r-- | compiler/optimizing/graph_checker.cc | 2 | ||||
-rw-r--r-- | compiler/optimizing/register_allocator_test.cc | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/compiler/optimizing/codegen_test.cc b/compiler/optimizing/codegen_test.cc index f4f44a0479..c0441b07ed 100644 --- a/compiler/optimizing/codegen_test.cc +++ b/compiler/optimizing/codegen_test.cc @@ -552,7 +552,7 @@ TEST_F(CodegenTest, MaterializedCondition2) { HIntConstant* cst_rhs = graph->GetIntConstant(rhs[i]); HLessThan cmp_lt(cst_lhs, cst_rhs); if_block->AddInstruction(&cmp_lt); - // We insert a dummy instruction to separate the HIf from the HLessThan + // We insert a fake instruction to separate the HIf from the HLessThan // and force the materialization of the condition. HMemoryBarrier force_materialization(MemBarrierKind::kAnyAny, 0); if_block->AddInstruction(&force_materialization); diff --git a/compiler/optimizing/graph_checker.cc b/compiler/optimizing/graph_checker.cc index ece88a01b4..44de54eccf 100644 --- a/compiler/optimizing/graph_checker.cc +++ b/compiler/optimizing/graph_checker.cc @@ -63,7 +63,7 @@ static bool IsExitTryBoundaryIntoExitBlock(HBasicBlock* block) { size_t GraphChecker::Run(bool pass_change, size_t last_size) { size_t current_size = GetGraph()->GetReversePostOrder().size(); if (!pass_change) { - // Nothing changed for certain. Do a quick sanity check on that assertion + // Nothing changed for certain. Do a quick check of the validity on that assertion // for anything other than the first call (when last size was still 0). if (last_size != 0) { if (current_size != last_size) { diff --git a/compiler/optimizing/register_allocator_test.cc b/compiler/optimizing/register_allocator_test.cc index d1db40be82..f635142e36 100644 --- a/compiler/optimizing/register_allocator_test.cc +++ b/compiler/optimizing/register_allocator_test.cc @@ -685,7 +685,7 @@ void RegisterAllocatorTest::ExpectedInRegisterHint(Strategy strategy) { RegisterAllocator::Create(GetScopedAllocator(), &codegen, liveness, strategy); register_allocator->AllocateRegisters(); - // Sanity check that in normal conditions, the register should be hinted to 0 (EAX). + // Check the validity that in normal conditions, the register should be hinted to 0 (EAX). ASSERT_EQ(field->GetLiveInterval()->GetRegister(), 0); } @@ -753,7 +753,7 @@ void RegisterAllocatorTest::SameAsFirstInputHint(Strategy strategy) { RegisterAllocator::Create(GetScopedAllocator(), &codegen, liveness, strategy); register_allocator->AllocateRegisters(); - // Sanity check that in normal conditions, the registers are the same. + // Check the validity that in normal conditions, the registers are the same. ASSERT_EQ(first_sub->GetLiveInterval()->GetRegister(), 1); ASSERT_EQ(second_sub->GetLiveInterval()->GetRegister(), 1); } |