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.
  • Loading branch information
MalaySanghi committed Feb 27, 2024
1 parent b1d2e85 commit 3892e8e
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 3892e8e

Please sign in to comment.