diff options
author | Vladimir Marko <vmarko@google.com> | 2016-04-20 18:45:25 +0100 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2016-04-20 19:45:42 +0100 |
commit | 9ef26544e6d9c438b150dfda39be61a7b4fd8b20 (patch) | |
tree | cc927c8c93ea0dd0d9431a5dbddb13b025166b18 /test/MultiDexModifiedSecondary/Main.java | |
parent | ccfc77e63b0bdc288f217d3b5e2657e911fa350b (diff) |
Fix HInstruction::ReplaceInput(), allow no-op.
Allow HInstruction::ReplaceInput() to be called with
a `replacement` being the same as the old input and
do nothing in that case.
This is a follow-up to
https://android-review.googlesource.com/216923
where I erroneously assumed that it never happens.
Also adhere to the standard C++ std::forward_list<>
semantics in the single-element overload of
`IntrusiveForwardList<>::splice_after()`.
Bug: 28173563
(cherry picked from commit c6b5627c25ff5653e97ccff8c5ccf6ac967b6f83)
Change-Id: I66b7d4b48f629284d0bcb1d31100519e02a872e5
Diffstat (limited to 'test/MultiDexModifiedSecondary/Main.java')
0 files changed, 0 insertions, 0 deletions