neoneo-go/pkg/compiler/testdata
Evgeniy Stratonikov 0bc81aecf4 compiler: do not emit code for unused imported functions
Our current algorithm marks function as used if it is called
at least ones, even if the callee function is itself unused.
This commit implements more clever traversal to collect usage
information more precisely.

Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
2021-10-13 15:56:07 +03:00
..
bar compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
block compiler: process interop together with package 2020-06-09 12:41:33 +03:00
compile *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
constonly compiler: fix global constant traversal 2020-12-10 13:45:10 +03:00
foo compiler: inline expressions with type conversions, fix #1879 2021-06-04 11:08:00 +03:00
foobar compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
inline compiler: keep traversing after c.countLocalsCall() 2021-04-05 22:58:07 +03:00
multi *: gofmt -s 2020-12-28 17:23:30 +03:00
nestedcall compiler: do not emit code for unused imported functions 2021-10-13 15:56:07 +03:00
notify compiler: do not emit code for unused imported functions 2021-10-13 15:56:07 +03:00
pkg1 compiler: process packages in deterministic order 2020-08-05 11:00:25 +03:00
pkg2 compiler: process packages in deterministic order 2020-08-05 11:00:25 +03:00
pkg3 compiler: initialize packages according to go spec 2020-08-05 11:15:07 +03:00
runh compiler: check for contract permissions 2021-06-28 11:49:29 +03:00
strange compiler: allow to use exported variables 2020-07-31 12:06:42 +03:00
types compiler: allow conversion to types from external packages 2021-02-08 11:02:45 +03:00
util compiler: process interop together with package 2020-06-09 12:41:33 +03:00