From ffd9a72d28d36915fb173a6d52fbb6e43f7c15db Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Wed, 2 Aug 2017 20:20:14 -0700 Subject: Get wasm2asm building again (#1107) * Get wasm2asm building again Updates CMakeLists.txt to have wasm2asm built by default, updates wasm2asm.h to account for recent interface changes, and restores JSPrinter functionality. * Implement splice for array values * Clean up wasm2asm testing * Print semicolons after statements in blocks * Cleanups and semicolons for condition arms * Prettify semicolon emission --- src/support/name.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/support') diff --git a/src/support/name.h b/src/support/name.h index 9853f5462..b77397555 100644 --- a/src/support/name.h +++ b/src/support/name.h @@ -55,4 +55,11 @@ struct Name : public cashew::IString { } // namespace wasm +namespace std { + +template <> struct hash : hash {}; + +} // namespace std + + #endif // wasm_support_string_h -- cgit v1.2.3