зеркало из https://github.com/mozilla/gecko-dev.git
Bug 841054 - Remove a dead script_ from SnapshotReader; r=nbp
--HG-- extra : rebase_source : d0b0052c3e0ba3f43173130487eb53a69d03b267
This commit is contained in:
Родитель
69a7ff37d4
Коммит
737a3362d2
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче