commit | f43083d560565aea46c602adb86423daeefe589d | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Fri Nov 07 10:48:10 2014 +0000 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Fri Nov 07 14:43:19 2014 +0000 |
tree | 6c812e88723c40ee77ab5c9ba38625a10cc9b364 | |
parent | de87f405a5f8a4ffd57f01d0d667188e8f0ca8cd [diff] [blame] |
Do not update Out after it has a valid location. Slow paths use LocationSummary to know where to move things around, and they are executed at the end of the code generation. This fix is needed for https://android-review.googlesource.com/#/c/113345/. Change-Id: Id336c6409479b1de6dc839b736a7234d08a7774a
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index 37e5e6b..47ed8df 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h
@@ -2088,6 +2088,8 @@ size_t GetIndex() const { return index_; } + Primitive::Type GetType() const OVERRIDE { return GetPrevious()->GetType(); } + DECLARE_INSTRUCTION(Temporary); private: