mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
Fix a vector that was passed by value instead of reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200827 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0b2d8ed86d
commit
725d7946c7
@ -59,10 +59,10 @@ private:
|
||||
raw_ostream &OS);
|
||||
void emitOperandTypesEnum(raw_ostream &OS, const CodeGenTarget &Target);
|
||||
void initOperandMapData(
|
||||
const std::vector<const CodeGenInstruction *> NumberedInstructions,
|
||||
const std::string &Namespace,
|
||||
std::map<std::string, unsigned> &Operands,
|
||||
OpNameMapTy &OperandMap);
|
||||
const std::vector<const CodeGenInstruction *> &NumberedInstructions,
|
||||
const std::string &Namespace,
|
||||
std::map<std::string, unsigned> &Operands,
|
||||
OpNameMapTy &OperandMap);
|
||||
void emitOperandNameMappings(raw_ostream &OS, const CodeGenTarget &Target,
|
||||
const std::vector<const CodeGenInstruction*> &NumberedInstructions);
|
||||
|
||||
@ -200,7 +200,7 @@ void InstrInfoEmitter::EmitOperandInfo(raw_ostream &OS,
|
||||
/// each instructions. This is used to generate the OperandMap table as
|
||||
/// well as the getNamedOperandIdx() function.
|
||||
void InstrInfoEmitter::initOperandMapData(
|
||||
const std::vector<const CodeGenInstruction *> NumberedInstructions,
|
||||
const std::vector<const CodeGenInstruction *> &NumberedInstructions,
|
||||
const std::string &Namespace,
|
||||
std::map<std::string, unsigned> &Operands,
|
||||
OpNameMapTy &OperandMap) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user