commit | 9e0f9b0d3e2cd78092e5c4b66ce1edcd79c951ea | [log] [tgz] |
---|---|---|
author | buzbee <buzbee@google.com> | Wed Aug 24 15:32:46 2011 -0700 |
committer | buzbee <buzbee@google.com> | Wed Aug 24 15:47:44 2011 -0700 |
tree | ecdf662160bd3113de7b09c02a7c8156e3f768d1 | |
parent | 69f5bc6759f256a146eefd8a7141d39fcc3b0421 [diff] |
Add switch and comparison tests. Fix ralloc bug We normally have 5 registers in our temp pool, but up to 6 may be needed for long 3-operand operations. Added a workaround to temporarily add lr to the temp pool in that specific case. Moved the bulk of the compiler_test code out of common_test.h into compiler_test.h. Added switch and compare unit tests. Change-Id: Ib449c49861acb5aaef716e8538e5818ba74522cb