commit | 40c69d949e67fe2cc2cccf4dd16b2f9fdabea396 | [log] [tgz] |
---|---|---|
author | Ben Gruver <bgruv@google.com> | Wed Aug 22 18:45:25 2012 -0700 |
committer | Ben Gruver <bgruv@google.com> | Wed Aug 22 18:54:48 2012 -0700 |
tree | f1d8b2eecceaebb0ba4032ed995a071b28936c6a | |
parent | b931f9065990520bf34b8c6128e069b4cca4a7ec [diff] |
Correctly handle switches on values in a high register When dx generates a switch on a value in a high register, it prepends a move instruction, to move the value to a low register. However, this causes the switch data pseudo-instruction to use address of the move instruction as the base address of the switch targets, rather than the address of the switch instruction Change-Id: I0708d35ec3059c30221cd0a64f426244411d31ea