Skip to content

Commit

Permalink
Simplify some floating point conditional code.
Browse files Browse the repository at this point in the history
  • Loading branch information
SirWumpus committed Aug 10, 2024
1 parent 9bd9e10 commit d0b462d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/post4.p4
Original file line number Diff line number Diff line change
Expand Up @@ -2071,10 +2071,6 @@ VARIABLE SCR
;
[THEN]

[DEFINED] _fs [IF]
_fs CONSTANT floating-stack DROP DROP
[THEN]

BEGIN-STRUCTURE p4_string
FIELD: str.length
FIELD: str.string \ pointer C string
Expand Down Expand Up @@ -2209,6 +2205,7 @@ END-STRUCTURE
; IMMEDIATE compile-only

[DEFINED] _fs [IF]
_fs CONSTANT floating-stack DROP DROP
' _fsp_get IS _fsp@
' _fsp_put IS _fsp!

Expand Down

0 comments on commit d0b462d

Please sign in to comment.