diff options
author | 2015-03-24 02:40:55 +0000 | |
---|---|---|
committer | 2015-03-24 02:40:56 +0000 | |
commit | bce0855ca1dbb1fa226c5b6a81760272ce0b64ef (patch) | |
tree | 6439e1079e13fff84e98e8ef0a7feaf05ad9546a /compiler/optimizing/nodes.cc | |
parent | 27a40aac557a0ee123471a99dc56fe91b50f2351 (diff) | |
parent | 0ba627337274ccfb8c9cb9bf23fffb1e1b9d1430 (diff) |
Merge "Revert "Deoptimization-based bce.""
Diffstat (limited to 'compiler/optimizing/nodes.cc')
-rw-r--r-- | compiler/optimizing/nodes.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/nodes.cc b/compiler/optimizing/nodes.cc index aeb1751f24..a90ebced69 100644 --- a/compiler/optimizing/nodes.cc +++ b/compiler/optimizing/nodes.cc @@ -696,8 +696,8 @@ HInstruction* HBinaryOperation::GetLeastConstantLeft() const { } } -bool HCondition::IsBeforeWhenDisregardMoves(HInstruction* instruction) const { - return this == instruction->GetPreviousDisregardingMoves(); +bool HCondition::IsBeforeWhenDisregardMoves(HIf* if_) const { + return this == if_->GetPreviousDisregardingMoves(); } HConstant* HConstant::NewConstant(ArenaAllocator* allocator, Primitive::Type type, int64_t val) { |