Commit Graph

33 Commits

Author SHA1 Message Date
Alexander Theißen 1b0ed1b383 Transition to Rust 2018 style imports 2021-05-26 14:59:04 +02:00
Alexander Theißen aebfc0fbd7 Fixes necessary for having no_std imports work with edition2018 2020-10-22 12:26:24 +02:00
Alexander Theißen f05f43b883 Unify pwasm-utils and pwasm-utils-cli packet 2020-10-21 20:24:49 +02:00
Alexander Theißen c09a924a81 Address all clippy lints
These changes do not change the behaviour of the
code and should be non-controversial.
2020-10-13 15:42:01 +02:00
Alexander Theißen 409ced002a Allow specifying the module of the imported 'gas' function (#140)
* No need for mem::replace when doing a simple assignment

* Allow specifying the module of the imported 'gas' function

This allows users to place the imported function inside a custom
module instead of the generic 'env' module.
2020-08-04 13:53:53 +03:00
Sergey Pepyakin a774a2cb29 Update parity-wasm to 0.39 2019-07-30 16:44:05 +02:00
laizy dc993bdb1b rewire corresponding indices in name section 2019-01-13 09:53:59 +08:00
Alexey 3e7946ab1c fix call_indirect test (#98)
Merged
2018-08-01 13:48:38 +03:00
Wei Tang af2d61b9f8 Fix tests and cli 2018-06-29 19:06:33 +08:00
Wei Tang d6f82000ee Update parity-wasm dependency to 0.31 2018-06-29 19:01:06 +08:00
Hernando Castano e6e340fa0a Update matches with single arm to be if-let statements 2018-05-29 22:46:11 -04:00
Wei Tang a30afec0cd Port core util lib to support no_std 2018-05-15 08:22:29 +08:00
NikVolf 89457adf73 also rewire func index 2018-02-01 15:25:59 +03:00
NikVolf e25b6cf6e3 fix index 2018-02-01 15:20:49 +03:00
NikVolf c216d98b7e start function 2018-02-01 15:16:19 +03:00
NikVolf a1ecded58c fix dependencies and deprecate test 2018-01-30 19:35:51 +03:00
NikVolf c5ac4cba56 updated to new parity-wasm api 2017-06-26 14:27:29 +03:00
NikVolf 4a06b5107c actually fix it 2017-06-14 15:47:35 +03:00
NikVolf 206c95e2b9 indirect_call bug fix 2017-06-14 15:26:56 +03:00
NikVolf 4882bace69 update to latest parity-wasm 2017-06-06 16:54:22 +03:00
NikVolf f2d99ce888 tabify all 2017-05-19 16:54:53 +03:00
NikVolf 573817c5b0 redundant call in builder 2017-05-09 18:16:49 +03:00
NikVolf d26b19a2aa expanded call test 2017-05-09 18:16:08 +03:00
NikVolf 7b4011aa60 global opt 2 2017-05-09 18:10:24 +03:00
NikVolf 2a7e93a764 global optimization happy path 2017-05-09 18:06:06 +03:00
NikVolf 67ec3b6e2d minimal test and expects replace 2017-05-09 15:35:49 +03:00
NikVolf 9787b36b77 optimized empty passes 2017-05-09 13:08:15 +03:00
NikVolf 8769847d48 factored out few expects 2017-05-09 13:04:40 +03:00
NikVolf 3255d4be75 result return for optimizer, test correctness 2017-05-09 12:54:16 +03:00
NikVolf e839064802 failing test with empty module 2017-05-09 12:46:49 +03:00
NikVolf 8fca2a9eb6 prints to logger 2017-05-05 15:51:42 +03:00
NikVolf 36c248ac9e fix indents 2017-05-04 16:12:27 +03:00
NikVolf a2b235a818 more of optimizer decomposition 2017-05-04 16:08:57 +03:00