diff options
author | Martijn Vels <mvels@google.com> | 2020-04-10 18:36:31 -0400 |
---|---|---|
committer | Martijn Vels <mvels@google.com> | 2020-04-10 19:41:46 -0400 |
commit | 7ba045a430b9e3812c20a941f45addac0fd6afd7 (patch) | |
tree | d6fc257d88d4eaa80aadb12ef6dd353b3a5aebeb /llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp | |
parent | f71350f05ae125b8b343b3a3a441537e353af039 (diff) | |
download | llvm-7ba045a430b9e3812c20a941f45addac0fd6afd7.zip llvm-7ba045a430b9e3812c20a941f45addac0fd6afd7.tar.gz llvm-7ba045a430b9e3812c20a941f45addac0fd6afd7.tar.bz2 |
Make basic_string::operator=() tail call properly
Summary: We discovered that the compiler may chose not to inline the operator=, which leads to an expensive extra stack frame. This change makes __assign_no_alias always tail called.
Reviewers: EricWF, #libc!
Subscribers: libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D77913
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp')
0 files changed, 0 insertions, 0 deletions