mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +00:00
Don't pass StringRef by reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108366 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1621,8 +1621,7 @@ const char* MSILWriter::getLibraryName(const GlobalVariable* GV) {
|
||||
}
|
||||
|
||||
|
||||
const char* MSILWriter::getLibraryForSymbol(const StringRef &Name,
|
||||
bool isFunction,
|
||||
const char* MSILWriter::getLibraryForSymbol(StringRef Name, bool isFunction,
|
||||
CallingConv::ID CallingConv) {
|
||||
// TODO: Read *.def file with function and libraries definitions.
|
||||
return "MSVCRT.DLL";
|
||||
|
||||
Reference in New Issue
Block a user