From ef7070f25582f2cad7f99712c7706c82e5e04c85 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Tue, 16 Jun 2020 03:11:04 +0000 Subject: [PATCH] Bug 1645820 - Mark MWasmStackResult as being a call result capture r=lth Flag was missing, as MWasmStackResult doesn't inherit from MWasmResultBase. Depends on D79698 Differential Revision: https://phabricator.services.mozilla.com/D79699 --- js/src/jit/MIR.h | 1 + 1 file changed, 1 insertion(+) diff --git a/js/src/jit/MIR.h b/js/src/jit/MIR.h index 615b39606d01..4ca0cf327130 100644 --- a/js/src/jit/MIR.h +++ b/js/src/jit/MIR.h @@ -12315,6 +12315,7 @@ class MWasmStackResult : public MUnaryInstruction, public NoTypePolicy::Data { MWasmStackResult(MWasmStackResultArea* resultArea, size_t idx) : MUnaryInstruction(classOpcode, resultArea), resultIdx_(idx) { setResultType(result().type()); + setCallResultCapture(); } public: