aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-09-17 23:14:15 +0000
committerAndrew Trick <atrick@apple.com>2012-09-17 23:14:15 +0000
commite4095f95ac2480aabbe289f41723b53ac1c82a98 (patch)
tree4c7a147cdad21a30d2f47673cea0bf1318083082 /utils/TableGen
parentb010277b599a6298b079d5ba2750df25c20c0b9d (diff)
downloadexternal_llvm-e4095f95ac2480aabbe289f41723b53ac1c82a98.zip
external_llvm-e4095f95ac2480aabbe289f41723b53ac1c82a98.tar.gz
external_llvm-e4095f95ac2480aabbe289f41723b53ac1c82a98.tar.bz2
Backout the wrong subtarget emitter fix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164078 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-rw-r--r--utils/TableGen/SubtargetEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/SubtargetEmitter.cpp b/utils/TableGen/SubtargetEmitter.cpp
index 83b1cb1..aec621f 100644
--- a/utils/TableGen/SubtargetEmitter.cpp
+++ b/utils/TableGen/SubtargetEmitter.cpp
@@ -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