summaryrefslogtreecommitdiff
path: root/scripts/test/shared.py
diff options
context:
space:
mode:
authorjgravelle-google <jgravelle@google.com>2016-11-30 15:34:39 -0800
committerGitHub <noreply@github.com>2016-11-30 15:34:39 -0800
commit4caea4872aed6d1cb7ef42c9a2364870eb574e41 (patch)
treefdaf20b77bd46d1da14d57a7401525ddf9f6850e /scripts/test/shared.py
parent36be3e0151dd7357e47b2d8f432bdd706a30466c (diff)
downloadbinaryen-4caea4872aed6d1cb7ef42c9a2364870eb574e41.tar.gz
binaryen-4caea4872aed6d1cb7ef42c9a2364870eb574e41.tar.bz2
binaryen-4caea4872aed6d1cb7ef42c9a2364870eb574e41.zip
Handle importing globals in s2wasm (#843)
* Handle importing globals in s2wasm * Make importedGlobals a set of Names, make Names hashable * Revert "Make importedGlobals a set of Names, make Names hashable" This reverts commit 1d0ca7a5e3839b15ca60593330979864c9c3ed60. * Refactor relocation parsing to handle expressions directly * PR Feedback - Move comment where it belongs - Add comment about ownership to addRelocation - Remove do-nothing parseImportGlobal * Reword "imported globals" to "imported objects" - Flip isObjectImported to isObjectImplemented, for consistency * Add tests for s2wasm globals. Also implement import relocation expression handling * Simplify globals.s test * Fix memory leak of relocation * Use unique_ptr instead of delete in getRelocatableExpression
Diffstat (limited to 'scripts/test/shared.py')
0 files changed, 0 insertions, 0 deletions