commit | 879788d52c9793b36c428e81c5d72bf6efb4e788 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Mon Aug 04 16:51:22 2008 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Mon Aug 04 16:51:22 2008 +0000 |
tree | 69ebef4f15bf86bc743f22e598ae9d6a9b87cd39 | |
parent | a1923f6d95601582f4a5c3924b8e1c5ac3f658b3 [diff] |
Add CodeGen support for indirect goto. - Follows emission scheme used by llvm-gcc, i.e. invent an id for each label whose address is taken and replace each indirect goto by a switch to each possible target. - Currently we emit a switch for each indirect goto instead of merging them as llvm-gcc does. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54318 91177308-0d34-0410-b5e6-96231b3b80d8