summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclCXX.cpp
diff options
context:
space:
mode:
authorArnold Schwaighofer <arnold.schwaighofer@gmail.com>2009-06-12 16:26:57 +0000
committerArnold Schwaighofer <arnold.schwaighofer@gmail.com>2009-06-12 16:26:57 +0000
commite3a018d707d40ba380f389216110f57d47462d71 (patch)
tree9e22b3e21091fb61d70cd130a76a1e3f38550f00 /clang/lib/Sema/SemaDeclCXX.cpp
parenta767eeed19ad7a9547410fd06bd13035c0189832 (diff)
downloadbcm5719-llvm-e3a018d707d40ba380f389216110f57d47462d71.tar.gz
bcm5719-llvm-e3a018d707d40ba380f389216110f57d47462d71.zip
Fix Bug 4278: X86-64 with -tailcallopt calling convention
out of sync with regular cc. The only difference between the tail call cc and the normal cc was that one parameter register - R9 - was reserved for calling functions through a function pointer. After time the tail call cc has gotten out of sync with the regular cc. We can use R11 which is also caller saved but not used as parameter register for potential function pointers and remove the special tail call cc on x86-64. llvm-svn: 73233
Diffstat (limited to 'clang/lib/Sema/SemaDeclCXX.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud