1
0
Fork 0
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:
Aleksandr Kirsanov 2024-05-10 16:08:50 +03:00
parent aaf3ca335d
commit 1e4b20a061
No known key found for this signature in database
GPG key ID: B758BBAA01FFB3D3
11 changed files with 41 additions and 71 deletions

View file

@ -51,8 +51,6 @@ tuple test_tuple(int x) method_id(13) {
return asm_func(x, x += 1, x, x, x~inc(x / 20), x, x = x * 2);
}
#pragma compute-asm-ltr;
(int, int, int, int, int, int, int) test_call_asm_new(int x) method_id(18) {
return asm_func(x, x~incWrap(x / 20), x, x = x * 2, x, x += 1, x);
}
@ -83,11 +81,11 @@ TESTCASE | 13 | 100 | [ 100 50 105 210 210 211 211 ]
TESTCASE | 14 | 100 | 100 50 105 210 210 211 211
TESTCASE | 15 | 100 | 100 50 105 210 210 211 211
TESTCASE | 16 | 100 | 100 50 105 210 210 211 211
TESTCASE | 17 | 100 | 100 50 105 210 210 211 211
TESTCASE | 17 | 100 | 101 50 106 212 100 101 101
TESTCASE | 18 | 100 | 210 210 211 211 100 50 105
TESTCASE | 19 | 100 | 100 50 105 210 210 211 211
TESTCASE | 20 | 80 | 80 89 1 8 8
TESTCASE | 20 | 9 | 9 -40 -10 -1 13
@code_hash 67078680159561921827850021610104736412668316252257881932102553152922274405210
@code_hash 91381947614024372269097215913018978221053550615790649489637387647848569490128
-}