Index: src/wasm/wasm-module.cc |
diff --git a/src/wasm/wasm-module.cc b/src/wasm/wasm-module.cc |
index 6d9b06b2b51fa835d2d4cc74934369f4dd1045be..fc3cad595fe32ea37ca2a5a7ba314f748ee5e1c4 100644 |
--- a/src/wasm/wasm-module.cc |
+++ b/src/wasm/wasm-module.cc |
@@ -265,7 +265,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, 0, nullptr}; |
Handle<Code> code = factory->NewCode(desc, Code::KindField::encode(kind), |
Handle<Object>::null()); |
code->set_constant_pool_offset(static_cast<int>(index) + kPlaceholderMarker); |