mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 18:11:19 +00:00
Fix the C++11 build. I hate narrowing conversions.
llvm-svn: 159543
This commit is contained in:
parent
f161e391f8
commit
9b887d11b5
@ -498,7 +498,7 @@ void SubtargetEmitter::EmitStageAndOperandCycleData(raw_ostream &OS,
|
||||
unsigned Find = ItinClassesMap[Name];
|
||||
|
||||
// Set up itinerary as location and location + stage count
|
||||
unsigned NumUOps = ItinData->getValueAsInt("NumMicroOps");
|
||||
int NumUOps = ItinData->getValueAsInt("NumMicroOps");
|
||||
InstrItinerary Intinerary = { NumUOps, FindStage, FindStage + NStages,
|
||||
FindOperandCycle,
|
||||
FindOperandCycle + NOperandCycles};
|
||||
|
Loading…
Reference in New Issue
Block a user