From d46c25b5e59a12d4677f830796cc80a6f98560ed Mon Sep 17 00:00:00 2001 From: Moonchild Date: Thu, 3 Jun 2021 00:23:41 +0000 Subject: [PATCH] [js] Fix porting typo Follow-up for 9acd98298ccadd83495fa1615573ebcca6648bae --- js/src/jit/BaselineFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jit/BaselineFrame.cpp b/js/src/jit/BaselineFrame.cpp index 3f00e9b36a..243fd31293 100644 --- a/js/src/jit/BaselineFrame.cpp +++ b/js/src/jit/BaselineFrame.cpp @@ -62,7 +62,7 @@ BaselineFrame::trace(JSTracer* trc, JitFrameIterator& frameIterator) // NB: It is possible that numValueSlots() could be zero, even if nfixed is // nonzero. This is the case if the function has an early stack check. - if (numValueSlots > 0) { + if (numValueSlots() > 0) { MOZ_ASSERT(nfixed <= numValueSlots());