From 27dcb3104dee2b66f2109e9f89bd6d865877e89f Mon Sep 17 00:00:00 2001
From: Lars T Hansen <lhansen@mozilla.com>
Date: Thu, 9 Sep 2021 12:54:09 +0000
Subject: [PATCH] Bug 1728549 - Make the 'none' case narrower, only wasi is
 affected. r=jseward CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D125063
---
 js/src/wasm/WasmBCMemory.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js/src/wasm/WasmBCMemory.cpp b/js/src/wasm/WasmBCMemory.cpp
index 5122ac587f61a..4400da83b4237 100644
--- a/js/src/wasm/WasmBCMemory.cpp
+++ b/js/src/wasm/WasmBCMemory.cpp
@@ -912,7 +912,7 @@ static void Deallocate(BaseCompiler* bc, RegI32 rv, const Temps& temps) {
   bc->maybeFree(temps.t2);
 }
 
-#elif defined(JS_CODEGEN_NONE)
+#elif defined(__wasi__)
 
 using Temps = Nothing;
 
-- 
GitLab