mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 07:33:20 +00:00
LibWasm: Remove Wasm::ValueType::Kind::Null*
variants
As far as I know, they're not in the spec and don't serve any purposes in the internals of LibWasm.
This commit is contained in:
parent
509c10d14d
commit
5382fbb617
Notes:
sideshowbarker
2024-07-17 20:58:35 +09:00
Author: https://github.com/dzfrias
Commit: 5382fbb617
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/500
4 changed files with 4 additions and 29 deletions
|
@ -328,12 +328,6 @@ JS_DEFINE_NATIVE_FUNCTION(WebAssemblyModule::wasm_invoke)
|
|||
}
|
||||
arguments.append(Wasm::Value(Wasm::Reference { Wasm::Reference::Extern { static_cast<u64>(double_value) } }));
|
||||
break;
|
||||
case Wasm::ValueType::Kind::NullFunctionReference:
|
||||
arguments.append(Wasm::Value(Wasm::Reference { Wasm::Reference::Null { Wasm::ValueType(Wasm::ValueType::Kind::FunctionReference) } }));
|
||||
break;
|
||||
case Wasm::ValueType::Kind::NullExternReference:
|
||||
arguments.append(Wasm::Value(Wasm::Reference { Wasm::Reference::Null { Wasm::ValueType(Wasm::ValueType::Kind::ExternReference) } }));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue