Bug 841054 - Remove a dead script_ from SnapshotReader; r=nbp

--HG--
extra : rebase_source : d0b0052c3e0ba3f43173130487eb53a69d03b267
This commit is contained in:
Terrence Cole 2013-02-13 18:32:14 -08:00
Родитель 69a7ff37d4
Коммит 737a3362d2
2 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -35,11 +35,6 @@ class SnapshotReader
uint32_t slotsRead_; // Number of slots that have been read.
bool resumeAfter_;
#ifdef DEBUG
// In debug mode we include the JSScript in order to make a few assertions.
JSScript *script_;
#endif
#ifdef TRACK_SNAPSHOTS
private:
uint32_t pcOpcode_;

Просмотреть файл

@ -141,7 +141,6 @@ SnapshotReader::readFrameHeader()
} u;
for (size_t i = 0; i < sizeof(RawScript); i++)
u.bytes[i] = reader_.readByte();
script_ = u.script;
#endif
pcOffset_ = reader_.readUnsigned();