summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-06-03 00:23:41 +0000
committerMoonchild <moonchild@palemoon.org>2021-06-03 00:23:41 +0000
commit7f6f1c664d19e0dedbbd92dc7694561121f26edf (patch)
treed8d0a85a6b14f7ddd4c519f58ad697b23ac07df6
parent9acd98298ccadd83495fa1615573ebcca6648bae (diff)
downloaduxp-7f6f1c664d19e0dedbbd92dc7694561121f26edf.tar.gz
[js] Fix porting typo
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());