mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +00:00
improve const correctness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45646 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1661,7 +1661,7 @@ void CodeGenDAGPatterns::ParseInstructions() {
|
||||
for (std::map<Record*, DAGInstruction>::iterator II = Instructions.begin(),
|
||||
E = Instructions.end(); II != E; ++II) {
|
||||
DAGInstruction &TheInst = II->second;
|
||||
TreePattern *I = TheInst.getPattern();
|
||||
const TreePattern *I = TheInst.getPattern();
|
||||
if (I == 0) continue; // No pattern.
|
||||
|
||||
// FIXME: Assume only the first tree is the pattern. The others are clobber
|
||||
|
Reference in New Issue
Block a user