Index: src/wasm/wasm-module.cc |
diff --git a/src/wasm/wasm-module.cc b/src/wasm/wasm-module.cc |
index 386a9ce5af8a2994d11bd5182ed246e9950cd30d..d7c3ce41ba8a1ede2eeecae00dbc26ddacd236d2 100644 |
--- a/src/wasm/wasm-module.cc |
+++ b/src/wasm/wasm-module.cc |
@@ -261,7 +261,7 @@ Handle<Code> CreatePlaceholder(Factory* factory, uint32_t index, |
// the {constant_pool_offset} field of the code object. |
// TODO(titzer): placeholder code objects are somewhat dangerous. |
static byte buffer[] = {0, 0, 0, 0, 0, 0, 0, 0}; // fake instructions. |
- static CodeDesc desc = {buffer, 8, 8, 0, 0, nullptr}; |
+ static CodeDesc desc = {buffer, 8, 8, 0, 0, nullptr, nullptr, 0}; |
Handle<Code> code = factory->NewCode(desc, Code::KindField::encode(kind), |
Handle<Object>::null()); |
code->set_constant_pool_offset(static_cast<int>(index) + kPlaceholderMarker); |