Skip to content

Commit

Permalink
feat: Re-order Bytecode instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMushow committed Dec 6, 2024
1 parent 599e698 commit a4ab8bd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions CoqOfRust/move_sui/simulations/move_binary_format/file_format.v
Original file line number Diff line number Diff line change
Expand Up @@ -844,11 +844,17 @@ Module Bytecode.
| BrFalse (_ : Z)
| Branch (_ : Z)
| LdU8 (_ : Z)
| LdU16 (_ : Z)
| LdU32 (_ : Z)
| LdU64 (_ : Z)
| LdU128 (_ : Z)
| LdU256 (_ : Z)
| CastU8
| CastU16
| CastU32
| CastU64
| CastU128
| CastU256
| LdConst (_ : ConstantPoolIndex.t)
| LdTrue
| LdFalse
Expand Down Expand Up @@ -908,13 +914,7 @@ Module Bytecode.
| VecPushBack (_ : SignatureIndex.t)
| VecPopBack (_ : SignatureIndex.t)
| VecUnpack (_ : SignatureIndex.t) (_ : Z)
| VecSwap (_ : SignatureIndex.t)
| LdU16 (_ : Z)
| LdU32 (_ : Z)
| LdU256 (_ : Z)
| CastU16
| CastU32
| CastU256.
| VecSwap (_ : SignatureIndex.t).

Definition is_unconditional_branch (self : t) : bool :=
match self with
Expand Down

0 comments on commit a4ab8bd

Please sign in to comment.