Commit 2773f88c authored by Thibaud Michaud's avatar Thibaud Michaud Committed by V8 LUCI CQ

[wasm] Add missing parenthesis

R=ahaas@chromium.org

Change-Id: Ic9d7430549fe78c5a97d551aa813bafe881a5c48
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3247193Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#77572}
parent d9068f6c
......@@ -1993,8 +1993,8 @@ Handle<WasmExportedFunction> WasmExportedFunction::New(
DCHECK(
CodeKind::JS_TO_WASM_FUNCTION == export_wrapper->kind() ||
(export_wrapper->is_builtin() &&
export_wrapper->builtin_id() == Builtin::kGenericJSToWasmWrapper ||
export_wrapper->builtin_id() == Builtin::kWasmReturnPromiseOnSuspend));
(export_wrapper->builtin_id() == Builtin::kGenericJSToWasmWrapper ||
export_wrapper->builtin_id() == Builtin::kWasmReturnPromiseOnSuspend)));
int num_imported_functions = instance->module()->num_imported_functions;
Handle<Object> ref =
func_index >= num_imported_functions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment