summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
diff options
context:
space:
mode:
authorChris Dewhurst <chris.dewhurst@lero.ie>2016-04-22 08:13:47 +0000
committerChris Dewhurst <chris.dewhurst@lero.ie>2016-04-22 08:13:47 +0000
commit431fc8af7bece9bfc733227218254b3d64d8a0f6 (patch)
tree695579b352acd6a4496068ab0ac3744049a11739 /llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
parentf8997cf5aee8b4bf0210ca156e1b2fbb8cf6bc07 (diff)
downloadbcm5719-llvm-431fc8af7bece9bfc733227218254b3d64d8a0f6.tar.gz
bcm5719-llvm-431fc8af7bece9bfc733227218254b3d64d8a0f6.zip
The following code would not work before this patch, due to the inability to take the address of a global object:
void func1() { ... } int main(int argc, char** argv) { void (*pFunc)(); pFunc = &func1 pFunc(); ... } Phabricator review: http://reviews.llvm.org/D19368 llvm-svn: 267120
Diffstat (limited to 'llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud