diff options
author | Mingyao Yang <mingyao@google.com> | 2015-03-23 23:56:36 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-03-23 23:56:37 +0000 |
commit | 27a40aac557a0ee123471a99dc56fe91b50f2351 (patch) | |
tree | fb7fcf5673e3d672b68e7a96aceb3a50b191b467 /compiler/optimizing/nodes.cc | |
parent | 075a6090b07ecfe7394fb65d39567596e0b1e3d3 (diff) | |
parent | e295e6ec5beaea31be5d7d3c996cd8cfa2053129 (diff) | |
download | art-27a40aac557a0ee123471a99dc56fe91b50f2351.tar.gz art-27a40aac557a0ee123471a99dc56fe91b50f2351.tar.bz2 art-27a40aac557a0ee123471a99dc56fe91b50f2351.zip |
Merge "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 a90ebced69..aeb1751f24 100644 --- a/compiler/optimizing/nodes.cc +++ b/compiler/optimizing/nodes.cc @@ -696,8 +696,8 @@ HInstruction* HBinaryOperation::GetLeastConstantLeft() const { } } -bool HCondition::IsBeforeWhenDisregardMoves(HIf* if_) const { - return this == if_->GetPreviousDisregardingMoves(); +bool HCondition::IsBeforeWhenDisregardMoves(HInstruction* instruction) const { + return this == instruction->GetPreviousDisregardingMoves(); } HConstant* HConstant::NewConstant(ArenaAllocator* allocator, Primitive::Type type, int64_t val) { |