diff options
| author | David Greene <greened@obbligato.org> | 2011-07-29 22:43:06 +0000 |
|---|---|---|
| committer | David Greene <greened@obbligato.org> | 2011-07-29 22:43:06 +0000 |
| commit | af8ee2cdeeb2ed35fdf0db8f7c06254c5d333ac4 (patch) | |
| tree | 44b1e44fca997d90227f276acddbc885ef01724b /llvm/utils/TableGen/CodeEmitterGen.h | |
| parent | 5b442374e94a066aa0d9e8c606e612c990842a7d (diff) | |
| download | bcm5719-llvm-af8ee2cdeeb2ed35fdf0db8f7c06254c5d333ac4.tar.gz bcm5719-llvm-af8ee2cdeeb2ed35fdf0db8f7c06254c5d333ac4.zip | |
Unconstify Inits
Remove const qualifiers from Init references, per Chris' request.
llvm-svn: 136531
Diffstat (limited to 'llvm/utils/TableGen/CodeEmitterGen.h')
| -rw-r--r-- | llvm/utils/TableGen/CodeEmitterGen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/CodeEmitterGen.h b/llvm/utils/TableGen/CodeEmitterGen.h index 1f841c37a3c..a874d970fea 100644 --- a/llvm/utils/TableGen/CodeEmitterGen.h +++ b/llvm/utils/TableGen/CodeEmitterGen.h @@ -35,10 +35,10 @@ private: void emitMachineOpEmitter(raw_ostream &o, const std::string &Namespace); void emitGetValueBit(raw_ostream &o, const std::string &Namespace); void reverseBits(std::vector<Record*> &Insts); - int getVariableBit(const std::string &VarName, const BitsInit *BI, int bit); + int getVariableBit(const std::string &VarName, BitsInit *BI, int bit); std::string getInstructionCase(Record *R, CodeGenTarget &Target); void - AddCodeToMergeInOperand(Record *R, const BitsInit *BI, const std::string &VarName, + AddCodeToMergeInOperand(Record *R, BitsInit *BI, const std::string &VarName, unsigned &NumberedOp, std::string &Case, CodeGenTarget &Target); |

