commit | b28c1c06236751aa5c9e64dcb68b3c940341e496 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Sat Nov 08 11:21:21 2014 -0800 |
committer | Ian Rogers <irogers@google.com> | Sat Nov 08 11:31:25 2014 -0800 |
tree | a0ccd1b1ff4f464d18b4854dbbb369f831564620 | |
parent | 78aa45b87cd889c6ec542fe08edad1db0d42d1f0 [diff] |
Tidy RegStorage for X86. Don't use global variables initialized in constructors to hold onto constant values, instead use the TargetReg32 helper. Improve this helper with the use of lookup tables. Elsewhere prefer to use constexpr values as they will have less runtime cost. Add an ostream operator to RegStorage for CHECK_EQ and use. Change-Id: Ib8d092d46c10dac5909ecdff3cc1e18b7e9b1633