Index: src/wasm/wasm-module.cc |
diff --git a/src/wasm/wasm-module.cc b/src/wasm/wasm-module.cc |
index e48a841e45c8281733136585ff4b8bd0e6ae0d52..dc34d52d21279c6ed565ffa828d5982f0d99e236 100644 |
--- a/src/wasm/wasm-module.cc |
+++ b/src/wasm/wasm-module.cc |
@@ -1459,7 +1459,7 @@ class WasmInstanceBuilder { |
TRACE("init [globals+%u] = [globals+%d]\n", global.offset, |
old_offset); |
size_t size = (global.type == kAstI64 || global.type == kAstF64) |
- ? size = sizeof(double) |
+ ? sizeof(double) |
: sizeof(int32_t); |
memcpy(raw_buffer_ptr(globals, new_offset), |
raw_buffer_ptr(globals, old_offset), size); |