[tbb-commits] [tor-browser] 02/08: Bug 1791520: Add some keep alive annotations. r=jandem a=pascalc

gitolite role git at cupani.torproject.org
Thu Oct 20 14:41:28 UTC 2022


This is an automated email from the git hooks/post-receive script.

richard pushed a commit to branch tor-browser-91.13.0esr-11.5-1
in repository tor-browser.

commit a64caa96bc9f1ebfb01c9dd74eb656f3837a85a4
Author: André Bargull <andre.bargull at gmail.com>
AuthorDate: Thu Oct 6 18:22:12 2022 +0000

    Bug 1791520: Add some keep alive annotations. r=jandem a=pascalc
    
    Differential Revision: https://phabricator.services.mozilla.com/D157735
---
 js/src/jit/IonAnalysis.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/js/src/jit/IonAnalysis.cpp b/js/src/jit/IonAnalysis.cpp
index fe8fede6852e..1bc941d44230 100644
--- a/js/src/jit/IonAnalysis.cpp
+++ b/js/src/jit/IonAnalysis.cpp
@@ -3392,6 +3392,10 @@ static bool NeedsKeepAlive(MInstruction* slotsOrElements, MInstruction* use) {
     return true;
   }
 
+  if (use->type() == MIRType::BigInt) {
+    return true;
+  }
+
   MBasicBlock* block = use->block();
   MInstructionIterator iter(block->begin(slotsOrElements));
   MOZ_ASSERT(*iter == slotsOrElements);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tbb-commits mailing list