summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-06-03 00:23:41 +0000
committerMoonchild <moonchild@palemoon.org>2021-06-04 06:30:44 +0000
commit84825468041d590ff8c660c42cf93b0d2243ad52 (patch)
tree8a96cc00e1da9954ce1377c41622aaaa690e2eb0
parentf06526314dbdb86d09f1f4bfc5718ee756c1f957 (diff)
downloaduxp-RELBASE_20210608.tar.gz
[js] Fix porting typoRELBASE_20210608RC_20210604
Follow-up for 9acd98298ccadd83495fa1615573ebcca6648bae
-rw-r--r--js/src/jit/BaselineFrame.cpp2
1 files changed, 1 insertions, 1 deletions
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());