diff options
author | Daniel Wirtz <dcode@dcode.io> | 2020-05-09 02:44:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-08 17:44:23 -0700 |
commit | 98b1e6a64e49bbec03dad679bcb716fd79dc13e1 (patch) | |
tree | 1364bf44d22ec1d0991e5f271ca0ecdc34c40d9a /test/binaryen.js/pass-arguments.js.txt | |
parent | f23bf9a4cd45b7ed03805f217f6c4f645a513822 (diff) | |
download | binaryen-98b1e6a64e49bbec03dad679bcb716fd79dc13e1.tar.gz binaryen-98b1e6a64e49bbec03dad679bcb716fd79dc13e1.tar.bz2 binaryen-98b1e6a64e49bbec03dad679bcb716fd79dc13e1.zip |
Remove C API tracing (#2841)
This feature was very useful in the early days of the C API,
but has not shown usefuless for quite a while, and has a
significant maintenance burden, so it it's makes sense to
remove it now.
Diffstat (limited to 'test/binaryen.js/pass-arguments.js.txt')
-rw-r--r-- | test/binaryen.js/pass-arguments.js.txt | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/test/binaryen.js/pass-arguments.js.txt b/test/binaryen.js/pass-arguments.js.txt index d13c4cad7..e69de29bb 100644 --- a/test/binaryen.js/pass-arguments.js.txt +++ b/test/binaryen.js/pass-arguments.js.txt @@ -1,27 +0,0 @@ -// beginning a Binaryen API trace -#include <math.h> -#include <map> -#include "binaryen-c.h" -int main() { - std::map<size_t, BinaryenType> types; - std::map<size_t, BinaryenExpressionRef> expressions; - std::map<size_t, BinaryenFunctionRef> functions; - std::map<size_t, BinaryenGlobalRef> globals; - std::map<size_t, BinaryenEventRef> events; - std::map<size_t, BinaryenExportRef> exports; - std::map<size_t, RelooperBlockRef> relooperBlocks; - std::map<size_t, ExpressionRunnerRef> expressionRunners; - BinaryenModuleRef the_module = NULL; - RelooperRef the_relooper = NULL; - BinaryenGetPassArgument("theKey"); - BinaryenSetPassArgument("theKey", "theValue"); - BinaryenGetPassArgument("theKey"); - BinaryenSetPassArgument("theKey", NULL); - BinaryenGetPassArgument("theKey"); - BinaryenSetPassArgument("theKey", "theValue2"); - BinaryenGetPassArgument("theKey"); - BinaryenClearPassArguments(); - BinaryenGetPassArgument("theKey"); - return 0; -} -// ending a Binaryen API trace |