Bug 1773368 - Remove deprecated typedefs for wasm objects. r=rhunt

Differential Revision: https://phabricator.services.mozilla.com/D148818
This commit is contained in:
Ted Campbell
2022-06-10 15:58:08 +00:00
parent 66faed5eb4
commit 61ad5e768c
26 changed files with 185 additions and 218 deletions

View File

@@ -8734,7 +8734,7 @@ static bool WasmLoop(JSContext* cx, unsigned argc, Value* vp) {
}
Rooted<TypedArrayObject*> typedArray(cx, &ret->as<TypedArrayObject>());
RootedWasmInstanceObject instanceObj(cx);
Rooted<WasmInstanceObject*> instanceObj(cx);
// No additional compile options here, we don't need them for this use case.
RootedValue maybeOptions(cx);
if (!wasm::Eval(cx, typedArray, importObj, maybeOptions, &instanceObj)) {