File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -110,11 +110,11 @@ void IGC::DbgDecoder::DbgInfoFormat::print(llvm::raw_ostream& OS) const {
110
110
OS << " <VISADebugInfo>\n " ;
111
111
OS << " Kernel: " << kernelName << " \n " ;
112
112
OS << " RelocOffset: " << relocOffset << " \n " ;
113
- OS << " NumSubroutines: " << numSubRoutines << " \n " ;
113
+ OS << " NumSubroutines: " << subs. size () << " \n " ;
114
114
115
- IGC_ASSERT (numSubRoutines == subs.size ());
116
- OS << " Subroutines:\n " ;
115
+ OS << " Subroutines: [\n " ;
117
116
PrintItems (OS, subs, " \n " );
117
+ OS << " ]\n " ;
118
118
OS << " CFI: {\n " ;
119
119
cfi.print (OS);
120
120
OS << " }\n " ;
Original file line number Diff line number Diff line change @@ -242,7 +242,6 @@ namespace IGC
242
242
std::vector<std::pair<unsigned int , unsigned int >> CISAIndexMap;
243
243
std::vector<VarInfo> Vars;
244
244
245
- uint16_t numSubRoutines = 0 ;
246
245
std::vector<SubroutineInfo> subs;
247
246
CallFrameInfo cfi;
248
247
You can’t perform that action at this time.
0 commit comments