Skip to content

Commit

Permalink
Non functional change. Initialize var EnumVal to 0. (llvm#82987)
Browse files Browse the repository at this point in the history
CodeGenInstruction has a new unsigned member EnumVal. It is not
initialized in either the class or the constructor.

commit-id:848313a5
  • Loading branch information
MalaySanghi authored and vzakhari committed Mar 14, 2024
1 parent de3cd37 commit d879e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/utils/TableGen/CodeGenInstruction.h
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ class CodeGenInstruction {
Record *InferredFrom;

// The enum value assigned by CodeGenTarget::computeInstrsByEnum.
mutable unsigned EnumVal;
mutable unsigned EnumVal = 0;

CodeGenInstruction(Record *R);

Expand Down

0 comments on commit d879e1d

Please sign in to comment.