aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--support/tools/TableGen/CodeEmitterGen.cpp3
-rw-r--r--utils/TableGen/CodeEmitterGen.cpp3
2 files changed, 2 insertions, 4 deletions
diff --git a/support/tools/TableGen/CodeEmitterGen.cpp b/support/tools/TableGen/CodeEmitterGen.cpp
index 0ba625311a..b32a38aa5f 100644
--- a/support/tools/TableGen/CodeEmitterGen.cpp
+++ b/support/tools/TableGen/CodeEmitterGen.cpp
@@ -105,8 +105,7 @@ void CodeEmitterGen::createEmitter(std::ostream &o) {
}
}
} else {
- if (Vals[f].getName() == "annul" || Vals[f].getName() == "cc" ||
- Vals[f].getName() == "predict")
+ if (Vals[f].getName() == "annul" || Vals[f].getName() == "predict")
--Offset;
}
}
diff --git a/utils/TableGen/CodeEmitterGen.cpp b/utils/TableGen/CodeEmitterGen.cpp
index 0ba625311a..b32a38aa5f 100644
--- a/utils/TableGen/CodeEmitterGen.cpp
+++ b/utils/TableGen/CodeEmitterGen.cpp
@@ -105,8 +105,7 @@ void CodeEmitterGen::createEmitter(std::ostream &o) {
}
}
} else {
- if (Vals[f].getName() == "annul" || Vals[f].getName() == "cc" ||
- Vals[f].getName() == "predict")
+ if (Vals[f].getName() == "annul" || Vals[f].getName() == "predict")
--Offset;
}
}