diff options
Diffstat (limited to 'www/firefox/patches/patch-js_src_wasm_WasmBCRegDefs.h')
-rw-r--r-- | www/firefox/patches/patch-js_src_wasm_WasmBCRegDefs.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/www/firefox/patches/patch-js_src_wasm_WasmBCRegDefs.h b/www/firefox/patches/patch-js_src_wasm_WasmBCRegDefs.h new file mode 100644 index 00000000000..9466fe48b1b --- /dev/null +++ b/www/firefox/patches/patch-js_src_wasm_WasmBCRegDefs.h @@ -0,0 +1,30 @@ +$NetBSD: patch-js_src_wasm_WasmBCRegDefs.h,v 1.1 2021/10/25 17:44:49 tnn Exp $ + +https://hg.mozilla.org/integration/autoland/rev/eac402936496 + +--- js/src/wasm/WasmBCRegDefs.h.orig 2021-09-27 23:17:27.000000000 +0000 ++++ js/src/wasm/WasmBCRegDefs.h +@@ -379,7 +379,10 @@ struct SpecificRegs { + SpecificRegs() : abiReturnRegI64(ReturnReg64) {} + }; + #elif defined(JS_CODEGEN_ARM64) +-struct SpecificRegs {}; ++struct SpecificRegs { ++ // Required by gcc. ++ SpecificRegs() {} ++}; + #elif defined(JS_CODEGEN_MIPS32) + struct SpecificRegs { + RegI64 abiReturnRegI64; +@@ -387,7 +390,10 @@ struct SpecificRegs { + SpecificRegs() : abiReturnRegI64(ReturnReg64) {} + }; + #elif defined(JS_CODEGEN_MIPS64) +-struct SpecificRegs {}; ++struct SpecificRegs { ++ // Required by gcc. ++ SpecificRegs() {} ++}; + #else + struct SpecificRegs { + # ifndef JS_64BIT |