Skip to content

Commit

Permalink
Add no-op flag to enable mutable byte arrays (#3934)
Browse files Browse the repository at this point in the history
This PR adds a flag that we will propagate to downstream semantics to
explicitly opt them in to the _current_ behaviour of K w.r.t. the
`Bytes` sort. It is currently a no-op, but will eventually provide a
potential performance increase by introducing potentially unsound
behaviour.
  • Loading branch information
Baltoli authored Jan 30, 2024
1 parent 0164d62 commit 3716938
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,10 @@ public List<String> convert(String str) {
description = "Emit proof hint instrumentation code into the generated interpreter",
hidden = true)
public boolean enableProofHints;

@Parameter(
names = "--llvm-mutable-bytes",
description = "Use a faster, unsound representation for byte arrays on the LLVM backend",
hidden = true)
public boolean llvmMutableBytes;
}

0 comments on commit 3716938

Please sign in to comment.