mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 18:24:00 +00:00
Fix some cases were ArrayRefs were being passed by reference. Also remove 'const' from some other ArrayRef uses since its implicitly const already.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216524 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -312,7 +312,7 @@ bool LTOCodeGenerator::determineTarget(std::string &errMsg) {
|
||||
|
||||
void LTOCodeGenerator::
|
||||
applyRestriction(GlobalValue &GV,
|
||||
const ArrayRef<StringRef> &Libcalls,
|
||||
ArrayRef<StringRef> Libcalls,
|
||||
std::vector<const char*> &MustPreserveList,
|
||||
SmallPtrSetImpl<GlobalValue*> &AsmUsed,
|
||||
Mangler &Mangler) {
|
||||
|
Reference in New Issue
Block a user