summaryrefslogtreecommitdiff
path: root/src/wasm-linker.h
diff options
context:
space:
mode:
authorjgravelle-google <jgravelle@google.com>2016-12-01 11:36:37 -0800
committerGitHub <noreply@github.com>2016-12-01 11:36:37 -0800
commit1a9f60907a7e5c36c4040b4af004dc09d29595f7 (patch)
treea85febc065ce8bbb3bd987290390aeab69896698 /src/wasm-linker.h
parent4caea4872aed6d1cb7ef42c9a2364870eb574e41 (diff)
downloadbinaryen-1a9f60907a7e5c36c4040b4af004dc09d29595f7.tar.gz
binaryen-1a9f60907a7e5c36c4040b4af004dc09d29595f7.tar.bz2
binaryen-1a9f60907a7e5c36c4040b4af004dc09d29595f7.zip
Generate global imports separately from emscripten glue (#852)
Diffstat (limited to 'src/wasm-linker.h')
-rw-r--r--src/wasm-linker.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wasm-linker.h b/src/wasm-linker.h
index 76ea62d7d..608576190 100644
--- a/src/wasm-linker.h
+++ b/src/wasm-linker.h
@@ -271,7 +271,8 @@ class Linker {
// relocation for it to point to the top of the stack.
void placeStackPointer(Address stackAllocation);
- void ensureImport(Name target, std::string signature);
+ void ensureFunctionImport(Name target, std::string signature);
+ void ensureObjectImport(Name target);
// Makes sure the table has a single segment, with offset 0,
// to which we can add content.