summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/CodeExtractor/2004-03-14-NoSwitchSupport.ll
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-01-04 03:27:52 +0000
committerEric Fiselier <eric@efcs.ca>2016-01-04 03:27:52 +0000
commit5243e190a790d9fa6c67350ed108ec177aa77e19 (patch)
tree05e96328169118f8f5cbbb7255d7b4caf41db7cf /llvm/test/Transforms/CodeExtractor/2004-03-14-NoSwitchSupport.ll
parentcfd817332737952f181cd6b41c8cda7a9cb02ab2 (diff)
downloadbcm5719-llvm-5243e190a790d9fa6c67350ed108ec177aa77e19.tar.gz
bcm5719-llvm-5243e190a790d9fa6c67350ed108ec177aa77e19.zip
Remove unsafe "__as_link()" cast member function.
"__as_link()" can only be used safely on "__list_node" objects. This patch moves the "__as_link()" member function from "__list_node_base" to "__list_node" so it cannot be used incorrectly. Unsafe downcasts now use a non-member function so we don't defer the type-punned pointer. llvm-svn: 256727
Diffstat (limited to 'llvm/test/Transforms/CodeExtractor/2004-03-14-NoSwitchSupport.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud