mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
Don't make zero-sized static arrays
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28448 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d74ea2bbd8
commit
243be2c80d
@ -377,7 +377,7 @@ void SubtargetEmitter::EmitProcessorData(std::ostream &OS,
|
||||
}
|
||||
|
||||
OS << "\n";
|
||||
OS << "static llvm::InstrItinerary NoItineraries[] = {};\n";
|
||||
OS << "static llvm::InstrItinerary NoItineraries[] = { {0, 0} };\n";
|
||||
}
|
||||
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user