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 84f4984331
commit 8038ceb731
1 changed files with 1 additions and 1 deletions

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