Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 1181558 part 0 - Remove unused SnapshotIterator constructor. r=ja…
Browse files Browse the repository at this point in the history
…ndem
  • Loading branch information
nbp committed Jul 13, 2015
1 parent d9f9426 commit e1ca413
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
2 changes: 0 additions & 2 deletions js/src/jit/JitFrameIterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -550,8 +550,6 @@ class SnapshotIterator
// Connect all informations about the current script in order to recover the
// content of baseline frames.

SnapshotIterator(IonScript* ionScript, SnapshotOffset snapshotOffset,
JitFrameLayout* fp, const MachineState& machine);
explicit SnapshotIterator(const JitFrameIterator& iter);
SnapshotIterator();

Expand Down
17 changes: 0 additions & 17 deletions js/src/jit/JitFrames.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1767,23 +1767,6 @@ RInstructionResults::trace(JSTracer* trc)
}


SnapshotIterator::SnapshotIterator(IonScript* ionScript, SnapshotOffset snapshotOffset,
JitFrameLayout* fp, const MachineState& machine)
: snapshot_(ionScript->snapshots(),
snapshotOffset,
ionScript->snapshotsRVATableSize(),
ionScript->snapshotsListSize()),
recover_(snapshot_,
ionScript->recovers(),
ionScript->recoversSize()),
fp_(fp),
machine_(machine),
ionScript_(ionScript),
instructionResults_(nullptr)
{
MOZ_ASSERT(snapshotOffset < ionScript->snapshotsListSize());
}

SnapshotIterator::SnapshotIterator(const JitFrameIterator& iter)
: snapshot_(iter.ionScript()->snapshots(),
iter.snapshotOffset(),
Expand Down

0 comments on commit e1ca413

Please sign in to comment.