summaryrefslogtreecommitdiff
path: root/src/passes/hash-stringify-walker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Outlining] Changing stringify values to 32-bit (#5832)Ashley Nelson2023-07-211-2/+3
| | | | | The LLVM suffix tree expects to be provided with a vector of 32-bit unsigned integers. This PR makes it easier to integrate our wasm program string with the suffix tree. Because the range of possible values is reduced from 2^64 to 2^32, a signed integer was added to manage the next separator value and ensure we're using every possible negative number.
* Adding license header to new files (#5819)Ashley Nelson2023-07-131-0/+16
|
* [Outlining] HashStringifyWalker (#5810)Ashley Nelson2023-07-131-0/+54
This PR is part of the effort to bring Outlining to Binaryen. HashStringifyWalker is a subclass of StringifyWalker #5772, and used to encode a wasm module as a "string". Our "string" is a vector and each symbol is a uint64_t, providing us with a capacity of 2^64 symbols.