Skip to content

Commit

Permalink
ir: add InstFreeze test case for implementing the Instruction interface
Browse files Browse the repository at this point in the history
  • Loading branch information
mewmew committed Jan 20, 2022
1 parent 79a5aaa commit f38394a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ir/ir_test.go
Expand Up @@ -106,6 +106,7 @@ var (
_ Instruction = (*InstFCmp)(nil)
_ Instruction = (*InstPhi)(nil)
_ Instruction = (*InstSelect)(nil)
_ Instruction = (*InstFreeze)(nil)
_ Instruction = (*InstCall)(nil)
_ Instruction = (*InstVAArg)(nil)
_ Instruction = (*InstLandingPad)(nil)
Expand Down Expand Up @@ -207,6 +208,7 @@ var (
_ value.Named = (*InstFCmp)(nil)
_ value.Named = (*InstPhi)(nil)
_ value.Named = (*InstSelect)(nil)
_ value.Named = (*InstFreeze)(nil)
_ value.Named = (*InstCall)(nil)
_ value.Named = (*InstVAArg)(nil)
_ value.Named = (*InstLandingPad)(nil)
Expand Down

0 comments on commit f38394a

Please sign in to comment.