Index: test/cctest/wasm/wasm-run-utils.h |
diff --git a/test/cctest/wasm/wasm-run-utils.h b/test/cctest/wasm/wasm-run-utils.h |
index 0a11fedfd1791af9a8f7a9812140ae93e648f973..1c2b8e84631cfc7da846c17c9004623f43c7e751 100644 |
--- a/test/cctest/wasm/wasm-run-utils.h |
+++ b/test/cctest/wasm/wasm-run-utils.h |
@@ -415,7 +415,8 @@ class WasmFunctionWrapper : public HandleAndZoneScope, |
r.LowerGraph(); |
} |
- CompilationInfo info(ArrayVector("testing"), isolate, graph()->zone()); |
+ CompilationInfo info(ArrayVector("testing"), isolate, graph()->zone(), |
+ Code::ComputeFlags(Code::STUB)); |
code_ = |
Pipeline::GenerateCodeForTesting(&info, descriptor, graph(), nullptr); |
CHECK(!code_.is_null()); |