We don't modify the LLVM rep, remain const correct

llvm-svn: 7345
This commit is contained in:
Chris Lattner 2003-07-26 23:06:00 +00:00
parent ba21b33499
commit e1b4e68396
1 changed files with 2 additions and 2 deletions

View File

@ -143,8 +143,8 @@ namespace {
class Emitter : public MachineFunctionPass {
const X86InstrInfo *II;
MachineCodeEmitter &MCE;
std::map<BasicBlock*, unsigned> BasicBlockAddrs;
std::vector<std::pair<BasicBlock*, unsigned> > BBRefs;
std::map<const BasicBlock*, unsigned> BasicBlockAddrs;
std::vector<std::pair<const BasicBlock*, unsigned> > BBRefs;
public:
Emitter(MachineCodeEmitter &mce) : II(0), MCE(mce) {}