From 780aeced2a8ef918901d8f450864de934f79c555 Mon Sep 17 00:00:00 2001 From: Alexandre Rames Date: Wed, 13 Jan 2016 14:34:39 +0000 Subject: Update `ValidateInvokeRuntime()` and HDivZeroCheck. Change-Id: I35beab2777a8c83bd508d56966afa1ceff9ee24f --- compiler/optimizing/code_generator.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'compiler/optimizing/code_generator.cc') diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc index 57c5058cfb..ea0b9eca9a 100644 --- a/compiler/optimizing/code_generator.cc +++ b/compiler/optimizing/code_generator.cc @@ -1326,12 +1326,6 @@ void CodeGenerator::ValidateInvokeRuntime(HInstruction* instruction, SlowPathCod << "instruction->DebugName()=" << instruction->DebugName() << " slow_path->GetDescription()=" << slow_path->GetDescription(); DCHECK(instruction->GetSideEffects().Includes(SideEffects::CanTriggerGC()) || - // Control flow would not come back into the code if a fatal slow - // path is taken, so we do not care if it triggers GC. - slow_path->IsFatal() || - // HDeoptimize is a special case: we know we are not coming back from - // it into the code. - instruction->IsDeoptimize() || // When read barriers are enabled, some instructions use a // slow path to emit a read barrier, which does not trigger // GC, is not fatal, nor is emitted by HDeoptimize -- cgit v1.2.3-59-g8ed1b