commit | 2f244e9faccfcca68af3c5484c397a01a1c3a342 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Thu May 08 03:35:25 2014 -0700 |
committer | Andreas Gampe <agampe@google.com> | Mon May 12 17:34:19 2014 -0700 |
tree | 2a67c935f90e9c7c1cdf55d7d3c22cfbacab2be6 | |
parent | e920cfd076f8cc806818bc115690c45289ed742c [diff] |
ART: Add more ThreadOffset in Mir2Lir and backends This duplicates all methods with ThreadOffset parameters, so that both ThreadOffset<4> and ThreadOffset<8> can be handled. Dynamic checks against the compilation unit's instruction set determine which pointer size to use and therefore which methods to call. Methods with unsupported pointer sizes should fatally fail, as this indicates an issue during method selection. Change-Id: Ifdb445b3732d3dc5e6a220db57374a55e91e1bf6