mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 16:24:23 +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:
@ -122,7 +122,7 @@ private:
|
||||
bool generateObjectFile(raw_ostream &out, bool disableOpt, bool disableInline,
|
||||
bool disableGVNLoadPRE, std::string &errMsg);
|
||||
void applyScopeRestrictions();
|
||||
void applyRestriction(GlobalValue &GV, const ArrayRef<StringRef> &Libcalls,
|
||||
void applyRestriction(GlobalValue &GV, ArrayRef<StringRef> Libcalls,
|
||||
std::vector<const char *> &MustPreserveList,
|
||||
SmallPtrSetImpl<GlobalValue *> &AsmUsed,
|
||||
Mangler &Mangler);
|
||||
|
Reference in New Issue
Block a user