diff options
author | Reid Kleckner <reid@kleckner.net> | 2014-05-09 22:56:42 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2014-05-09 22:56:42 +0000 |
commit | d30c11eddee0c6f17a65303c249b77d14962c973 (patch) | |
tree | a204ca35123d20da51f2add45cfad7bc9bb6fda2 /docs/CodeGenerator.rst | |
parent | 754e940865aaf63be79dcb921572eff4b1042c7c (diff) | |
download | llvm-d30c11eddee0c6f17a65303c249b77d14962c973.tar.gz llvm-d30c11eddee0c6f17a65303c249b77d14962c973.tar.bz2 llvm-d30c11eddee0c6f17a65303c249b77d14962c973.tar.xz |
Revert "[ms-cxxabi] Add a new calling convention that swaps 'this' and 'sret'"
This reverts commit r200561.
This calling convention was an attempt to match the MSVC C++ ABI for
methods that return structures by value. This solution didn't scale,
because it would have required splitting every CC available on Windows
into two: one for methods and one for free functions.
Now that we can put sret on the second arg (r208453), and Clang does
that (r208458), revert this hack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208459 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CodeGenerator.rst')
-rw-r--r-- | docs/CodeGenerator.rst | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/docs/CodeGenerator.rst b/docs/CodeGenerator.rst index 81fa26438b..3bc8ce1a97 100644 --- a/docs/CodeGenerator.rst +++ b/docs/CodeGenerator.rst @@ -2145,10 +2145,6 @@ The following target-specific calling conventions are known to backend: others via stack. Callee is responsible for stack cleaning. This convention is used by MSVC by default for methods in its ABI (CC ID = 70). -* **X86_CDeclMethod** --- Identical to the standard x86_32 C calling convention, - except that an sret paramter, if present, is placed on the stack after the - second parameter, which must an integer or pointer. (CC ID = 80). - .. _X86 addressing mode: Representing X86 addressing modes in MachineInstrs |