-
Notifications
You must be signed in to change notification settings - Fork 482
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add constant inlining to UPLC (#5790)
* Add constant inlining to UPLC Signed-off-by: Ana Pantilie <[email protected]> * Regenerate UPLC test output Signed-off-by: Ana Pantilie <[email protected]> * Regenerate benchmark test outputs Signed-off-by: Ana Pantilie <[email protected]> --------- Signed-off-by: Ana Pantilie <[email protected]>
- Loading branch information
1 parent
d748384
commit 6d5e14c
Showing
9 changed files
with
48 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 86149266650 | ||
| mem: 341062680}) | ||
({cpu: 86149243650 | ||
| mem: 341062580}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1633 | ||
1627 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
plutus-core/untyped-plutus-core/test/Transform/floatDelay1.uplc.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
((\a_1 -> addInteger a_1 a_1) 1) | ||
(addInteger 1 1) |
2 changes: 1 addition & 1 deletion
2
plutus-core/untyped-plutus-core/test/Transform/floatDelay3.uplc.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
((\a_2 -> addInteger (force a_2) (force a_2)) (delay 1)) | ||
(addInteger (force (delay 1)) (force (delay 1))) |
2 changes: 1 addition & 1 deletion
2
plutus-core/untyped-plutus-core/test/Transform/inlinePure3.uplc.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
(\b_5 -> (\x_8 y_9 -> 1 x_8) 1) | ||
(\b_5 y_8 -> 1 1) |
2 changes: 1 addition & 1 deletion
2
plutus-core/untyped-plutus-core/test/Transform/interveningLambda.uplc.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
(force ((\a_1 -> delay (1 a_1)) 1)) | ||
(force (delay (1 1))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters