Skip to content

Commit

Permalink
Bug 1584649 - Remove un-needed template parameter in EmitterScope r=t…
Browse files Browse the repository at this point in the history
…campbell

Differential Revision: https://phabricator.services.mozilla.com/D50096

--HG--
extra : moz-landing-system : lando
  • Loading branch information
mgaudet committed Oct 22, 2019
1 parent aea11f0 commit f11b393
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion js/src/frontend/EmitterScope.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ bool EmitterScope::ensureCache(BytecodeEmitter* bce) {
return nameCache_.acquire(bce->cx);
}

template <typename BindingIter>
bool EmitterScope::checkSlotLimits(BytecodeEmitter* bce,
const BindingIter& bi) {
if (bi.nextFrameSlot() >= LOCALNO_LIMIT ||
Expand Down
1 change: 0 additions & 1 deletion js/src/frontend/EmitterScope.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ class EmitterScope : public Nestable<EmitterScope> {

MOZ_MUST_USE bool ensureCache(BytecodeEmitter* bce);

template <typename BindingIter>
MOZ_MUST_USE bool checkSlotLimits(BytecodeEmitter* bce,
const BindingIter& bi);

Expand Down

0 comments on commit f11b393

Please sign in to comment.