зеркало из https://github.com/mozilla/gecko-dev.git
Correct the change to the fast-load version. r/sr=bz
This commit is contained in:
Родитель
2a90e56d39
Коммит
90ce32e3d2
|
@ -129,7 +129,7 @@ const char XUL_FASTLOAD_FILE_BASENAME[] = "XUL";
|
|||
// Increase the subtractor when changing version, say when changing the
|
||||
// (opaque to FastLoad code) format of JS script, function, regexp, etc.
|
||||
// XDR serializations.
|
||||
#define XUL_FASTLOAD_FILE_VERSION (0xfeedbeef - 12)
|
||||
#define XUL_FASTLOAD_FILE_VERSION (0xfeedbeef - 13)
|
||||
|
||||
#define XUL_SERIALIZATION_BUFFER_SIZE (64 * 1024)
|
||||
#define XUL_DESERIALIZATION_BUFFER_SIZE (8 * 1024)
|
||||
|
|
|
@ -141,7 +141,7 @@ typedef PRUint32 NSFastLoadOID; // nsFastLoadFooter::mObjectMap index
|
|||
|
||||
#define MFL_FILE_VERSION_0 0
|
||||
#define MFL_FILE_VERSION_1 1000
|
||||
#define MFL_FILE_VERSION 5 // multiple script languages
|
||||
#define MFL_FILE_VERSION 4 // fix to note singletons in object map
|
||||
|
||||
/**
|
||||
* Compute Fletcher's 16-bit checksum over aLength bytes starting at aBuffer,
|
||||
|
|
Загрузка…
Ссылка в новой задаче