diff options
Diffstat (limited to 'src/tools/wasm-split/instrumenter.cpp')
-rw-r--r-- | src/tools/wasm-split/instrumenter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/wasm-split/instrumenter.cpp b/src/tools/wasm-split/instrumenter.cpp index 1c825f29f..93971ed94 100644 --- a/src/tools/wasm-split/instrumenter.cpp +++ b/src/tools/wasm-split/instrumenter.cpp @@ -195,7 +195,7 @@ void Instrumenter::addProfileExport(size_t numFuncs) { } } - auto ptrType = wasm->memories[0]->indexType; + auto ptrType = wasm->memories[0]->addressType; // Create and export a function to dump the profile into a given memory // buffer. The function takes the available address and buffer size as |