Skip to content

Commit

Permalink
Use Z3Solver >> #release instead of #del
Browse files Browse the repository at this point in the history
MA commit cceedbd removed `#del` in favor of `#release`. This commit
catches up to use the latter.
  • Loading branch information
janvrany authored and shingarov committed Jun 24, 2024
1 parent c0f4aab commit ed20e30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ArchC-Core/ProcessorInstructionDeclaration.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ ProcessorInstructionDeclaration >> alwaysFitsEncoding: aBitVector [
solver := Z3Solver new.
[
answer := solver isValid: encodingIsCorrect
] ensure: [ solver del. ].
] ensure: [ solver release. ].
^ answer
]

Expand Down Expand Up @@ -294,7 +294,7 @@ ProcessorInstructionDeclaration >> possiblyFitsEncoding: aBitVector [
[
solver assert: (self binaryEncoding eq: aBitVector).
answer := solver check.
] ensure: [ solver del. ].
] ensure: [ solver release. ].
^ answer
]

Expand Down

0 comments on commit ed20e30

Please sign in to comment.