-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix basic block calls in the Reg -> CASM translation (#3238)
* Closes #3237 * The order of arguments passed to the next basic block was inconsistent among different branches of an if/case. This manifested itself only when the branches ended with different operations (e.g., one with a call, another with assignment), the result of the branching was used later on (the branching was not at tail position), and variables declared before the branch were used after it in a specific way. --------- Co-authored-by: Jan Mas Rovira <[email protected]>
- Loading branch information
1 parent
363ce11
commit d815855
Showing
23 changed files
with
643 additions
and
25 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
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
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
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"self_resource": { | ||
"logic": "0x373bb1d37414c2edf111cf2f9f076517da99d38e44cdd716ca2ad00a07731e5", | ||
"label": "0x12", | ||
"quantity": "0x13", | ||
"data": "0x14", | ||
"eph": false, | ||
"nonce": "0x26", | ||
"npk": "0x7752582c54a42fe0fa35c40f07293bb7d8efe90e21d8d2c06a7db52d7d9b7a1", | ||
"rseed": "0x48" | ||
}, | ||
"resource_nf_key": "0x1", | ||
"merkle_path": [ | ||
{ | ||
"fst": "0x33", | ||
"snd": true | ||
}, | ||
{ | ||
"fst": "0x83", | ||
"snd": false | ||
}, | ||
{ | ||
"fst": "0x73", | ||
"snd": false | ||
}, | ||
{ | ||
"fst": "0x23", | ||
"snd": false | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
-395556098205570544514862427675713135822454173064116032036066260837844667166 | ||
1199411604616075448730293334298953634347373067899103883531383580500542532805 | ||
741345583372708758677381254341695646215212764479558601822324496916305564860 | ||
906223455619847457072543249061510257957686047823824674682567491887881744554 | ||
-767849295212578246709801782763128612227201311770055823223370752694466982385 | ||
-499605824796177847482548145602529914672118948474574930466002320448397702145 | ||
-739783929947191450539981235446122797172963523649497524598736585887720470605 | ||
11906781661858318111608384113371656853984100876730919753607956359054872835 | ||
1184591657410410618259810478559756080508915282346219818107533089968423438529 | ||
-1196756736539952528850324578540484369187211012447802934902211689810543298321 | ||
-615406306260154438751417537243664316178100185892451009663053034794681290878 | ||
-479989799644409226462391378855274180707944349292197032426785420935231903693 | ||
1666094585867140022923253270503506891580143265539166904031542100935830693071 | ||
874739451078007766457464989774322083649278607533249481151382481072868806602 | ||
152666792071518830868575557812948353041420400780739481342941381225525861407 | ||
1 |
Oops, something went wrong.