summaryrefslogtreecommitdiff
path: root/test/fn_prolog_epilog.debugInfo.wasm.fromBinary
Commit message (Collapse)AuthorAgeFilesLines
* Remove function index printing (#2742)Thomas Lively2020-04-091-1/+1
| | | | | | | | `BinaryIndexes` was only used in two places (Print.cpp and wasm-binary.h), so it didn't seem to be a great fit for module-utils.h. This change moves it to wasm-binary.h and removes its usage in Print.cpp. This means that function indexes are no longer printed, but those were of limited utility and were the source of annoying noise when updating tests, anyway.
* Remove FunctionType (#2510)Thomas Lively2019-12-111-2/+2
| | | | | | | | | | | | | | | | | Function signatures were previously redundantly stored on Function objects as well as on FunctionType objects. These two signature representations had to always be kept in sync, which was error-prone and needlessly complex. This PR takes advantage of the new ability of Type to represent multiple value types by consolidating function signatures as a pair of Types (params and results) stored on the Function object. Since there are no longer module-global named function types, significant changes had to be made to the printing and emitting of function types, as well as their parsing and manipulation in various passes. The C and JS APIs and their tests also had to be updated to remove named function types.
* Add debug information locations to the function prolog/epilog (#1674)Yury Delendik2018-09-171-0/+18
The current patch: * Preserves the debug locations from function prolog and epilog * Preserves the debug locations of the nested blocks