[js] Fix porting typo

Follow-up for 9acd98298ccadd83495fa1615573ebcca6648bae
This commit is contained in:
Moonchild 2021-06-03 00:23:41 +00:00 committed by roytam1
commit d46c25b5e5

View file

@ -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());