From cdea310f1796c1ea5ffa5b49a06fcda914ea9ecb Mon Sep 17 00:00:00 2001
From: wolfbeast <mcwerewolf@wolfbeast.com>
Date: Thu, 19 Dec 2019 01:36:07 +0100
Subject: Issue #1322 - Part 2: Remove --enable-sm-promise buildconfig switch.

---
 js/moz.configure | 13 -------------
 1 file changed, 13 deletions(-)

(limited to 'js')

diff --git a/js/moz.configure b/js/moz.configure
index eadd0e9ab..33bac0017 100644
--- a/js/moz.configure
+++ b/js/moz.configure
@@ -37,19 +37,6 @@ def js_disable_shell(value):
 set_config('JS_DISABLE_SHELL', js_disable_shell)
 
 
-# Use SpiderMonkey Promise implementation if it's enabled
-# =======================================================
-js_option('--enable-sm-promise', default=True,
-          help='Enable SpiderMonkey promises')
-
-@depends('--enable-sm-promise')
-def sm_promise(value):
-    if value:
-        return True
-
-set_config('SPIDERMONKEY_PROMISE', sm_promise)
-set_define('SPIDERMONKEY_PROMISE', sm_promise)
-
 # SpiderMonkey as a shared library, and how its symbols are exported
 # ==================================================================
 js_option('--disable-shared-js', default=building_js,
-- 
cgit v1.2.3