mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-01 10:57:21 +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);
|
raw_ostream &OS);
|
||||||
void emitOperandTypesEnum(raw_ostream &OS, const CodeGenTarget &Target);
|
void emitOperandTypesEnum(raw_ostream &OS, const CodeGenTarget &Target);
|
||||||
void initOperandMapData(
|
void initOperandMapData(
|
||||||
const std::vector<const CodeGenInstruction *> NumberedInstructions,
|
const std::vector<const CodeGenInstruction *> &NumberedInstructions,
|
||||||
const std::string &Namespace,
|
const std::string &Namespace,
|
||||||
std::map<std::string, unsigned> &Operands,
|
std::map<std::string, unsigned> &Operands,
|
||||||
OpNameMapTy &OperandMap);
|
OpNameMapTy &OperandMap);
|
||||||
void emitOperandNameMappings(raw_ostream &OS, const CodeGenTarget &Target,
|
void emitOperandNameMappings(raw_ostream &OS, const CodeGenTarget &Target,
|
||||||
const std::vector<const CodeGenInstruction*> &NumberedInstructions);
|
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
|
/// each instructions. This is used to generate the OperandMap table as
|
||||||
/// well as the getNamedOperandIdx() function.
|
/// well as the getNamedOperandIdx() function.
|
||||||
void InstrInfoEmitter::initOperandMapData(
|
void InstrInfoEmitter::initOperandMapData(
|
||||||
const std::vector<const CodeGenInstruction *> NumberedInstructions,
|
const std::vector<const CodeGenInstruction *> &NumberedInstructions,
|
||||||
const std::string &Namespace,
|
const std::string &Namespace,
|
||||||
std::map<std::string, unsigned> &Operands,
|
std::map<std::string, unsigned> &Operands,
|
||||||
OpNameMapTy &OperandMap) {
|
OpNameMapTy &OperandMap) {
|
||||||
|
Loading…
Reference in New Issue
Block a user