mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Fix release build after reverting
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164075 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
87f7864c6d
commit
f23ddf54ea
@ -708,7 +708,6 @@ void SubtargetEmitter::GenSchedClassTables(const CodeGenProcModel &ProcModel,
|
||||
SCE = SchedModels.schedClassEnd(); SCI != SCE; ++SCI) {
|
||||
SCTab.resize(SCTab.size() + 1);
|
||||
MCSchedClassDesc &SCDesc = SCTab.back();
|
||||
SCDesc.Name = SCI->Name.c_str();
|
||||
SCDesc.NumMicroOps = 0;
|
||||
SCDesc.BeginGroup = false;
|
||||
SCDesc.EndGroup = false;
|
||||
@ -972,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(SchedModels.getSchedClass(0).Name == "NoItinerary"
|
||||
assert(SchedClass.Name == "NoItinerary"
|
||||
&& "invalid class not first");
|
||||
OS << " {DBGFIELD(\"InvalidSchedClass\") "
|
||||
<< MCSchedClassDesc::InvalidNumMicroOps
|
||||
|
Loading…
x
Reference in New Issue
Block a user