From d63486d0ef085f905dafdb14a76cfb2ca1fb452e Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Wed, 27 Apr 2016 09:18:37 -0700 Subject: Split construction, scanning, and building phases of S2WasmBuilder (#400) Instead of doing all of the S2Wasm work in the constructor, split construction, scanning (to determine implemented functions) and building of the wasm module. This allows the linker to get the symbol information (e.g. implemented functions) without having to build an entire module (which will be useful for archives) and to allow the linker to link a new object into the existing one by building the wasm module in place on the existing module. --- src/wasm-binary.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wasm-binary.h') diff --git a/src/wasm-binary.h b/src/wasm-binary.h index d13e1a526..0cf85a50f 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -26,7 +26,7 @@ #include "wasm.h" #include "wasm-traversal.h" -#include "shared-constants.h" +#include "asmjs/shared-constants.h" #include "asm_v_wasm.h" #include "wasm-builder.h" #include "ast_utils.h" -- cgit v1.2.3