Skip to content

Commit 451b63e

Browse files
LiedtkeV8 LUCI CQ
authored andcommitted
[wasm] Fix official build
Runtime::kWasmGenerateRandomModule only exists on non-official builds. Change-Id: I7579d28247a27d895ce350ba012ea7b27623c3e7 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5724702 Auto-Submit: Matthias Liedtke <[email protected]> Reviewed-by: Samuel Groß <[email protected]> Commit-Queue: Samuel Groß <[email protected]> Cr-Commit-Position: refs/heads/main@{#95151}
1 parent 9662b52 commit 451b63e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/runtime/runtime.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ bool Runtime::IsEnabledForFuzzing(FunctionId id) {
239239
case Runtime::kIsEfficiencyModeEnabled:
240240
case Runtime::kBaselineOsr:
241241
case Runtime::kCompileBaseline:
242-
#ifdef V8_ENABLE_WEBASSEMBLY
242+
#if V8_ENABLE_WEBASSEMBLY && !OFFICIAL_BUILD
243243
case Runtime::kWasmGenerateRandomModule:
244244
#endif // V8_ENABLE_WEBASSEMBLY
245245
return true;

0 commit comments

Comments
 (0)