Backout the wrong subtarget emitter fix

llvm-svn: 164078
This commit is contained in:
Andrew Trick 2012-09-17 23:14:15 +00:00
parent 77511d5a11
commit 2b04a12c0c

View File

@ -971,7 +971,7 @@ void SubtargetEmitter::EmitSchedClassTables(SchedClassTables &SchedTables,
// The first class is always invalid. We no way to distinguish it except by
// name and position.
assert(SchedClass.Name == "NoItinerary"
assert(SchedModels.getSchedClass(0).Name == "NoItinerary"
&& "invalid class not first");
OS << " {DBGFIELD(\"InvalidSchedClass\") "
<< MCSchedClassDesc::InvalidNumMicroOps