| Index: src/compiler/wasm-compiler.cc
|
| diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
|
| index 1573c026f69b3b3a8cc3862f2a6f19109f23787c..132fa67d1b645b15ccbb0a8be411f776f22bf30f 100644
|
| --- a/src/compiler/wasm-compiler.cc
|
| +++ b/src/compiler/wasm-compiler.cc
|
| @@ -2949,7 +2949,9 @@ void WasmGraphBuilder::BuildWasmInterpreterEntry(
|
| }
|
|
|
| // The return value is also passed via this buffer:
|
| - DCHECK_GE(1, sig->return_count());
|
| + DCHECK_GE(wasm::kV8MaxWasmFunctionReturns, sig->return_count());
|
| + // TODO(wasm): Handle multi-value returns.
|
| + DCHECK_EQ(1, wasm::kV8MaxWasmFunctionReturns);
|
| int return_size_bytes =
|
| sig->return_count() == 0 ? 0 : 1 << ElementSizeLog2Of(sig->GetReturn(0));
|
|
|
|
|