mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
[FunC] Deprecate pragma compute-asm-ltr
It changes all hashes, since the compiler needs to manipulate the stack in a different way now.
This commit is contained in:
parent
aaf3ca335d
commit
1e4b20a061
11 changed files with 41 additions and 71 deletions
|
@ -60,8 +60,6 @@ int foo(int x) {
|
|||
return (t, t2);
|
||||
}
|
||||
|
||||
#pragma compute-asm-ltr;
|
||||
|
||||
(tuple, tuple) test_new_1() method_id(21) {
|
||||
t = empty_tuple();
|
||||
tuple t2 = asmFunc1(foo(11), foo(22), foo(33));
|
||||
|
@ -105,11 +103,11 @@ int foo(int x) {
|
|||
{-
|
||||
method_id | in | out
|
||||
TESTCASE | 11 | | [ 11 22 33 ] [ 110 220 330 ]
|
||||
TESTCASE | 12 | | [ 33 22 11 ] [ 330 220 110 ]
|
||||
TESTCASE | 13 | | [ 22 33 11 ] [ 220 330 110 ]
|
||||
TESTCASE | 12 | | [ 11 22 33 ] [ 330 220 110 ]
|
||||
TESTCASE | 13 | | [ 11 22 33 ] [ 220 330 110 ]
|
||||
TESTCASE | 14 | | [ 11 22 33 44 55 ] [ 220 330 440 110 550 ]
|
||||
TESTCASE | 15 | | [ 33 22 ] [ 220 330 ]
|
||||
TESTCASE | 16 | | [ 22 33 11 ] [ 220 330 110 ]
|
||||
TESTCASE | 15 | | [ 22 33 ] [ 220 330 ]
|
||||
TESTCASE | 16 | | [ 11 22 33 ] [ 220 330 110 ]
|
||||
TESTCASE | 21 | | [ 11 22 33 ] [ 110 220 330 ]
|
||||
TESTCASE | 22 | | [ 11 22 33 ] [ 330 220 110 ]
|
||||
TESTCASE | 23 | | [ 11 22 33 ] [ 220 330 110 ]
|
||||
|
@ -117,5 +115,5 @@ TESTCASE | 24 | | [ 11 22 33 44 55 ] [ 220 330 440 110 550 ]
|
|||
TESTCASE | 25 | | [ 22 33 ] [ 220 330 ]
|
||||
TESTCASE | 26 | | [ 11 22 33 ] [ 220 330 110 ]
|
||||
|
||||
@code_hash 53895312198338603934600244087571743055624960603383611438828666636202841531600
|
||||
@code_hash 93068291567112337250118419287631047120002003622184251973082208096953112184588
|
||||
-}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue