Correct the change to the fast-load version. r/sr=bz

This commit is contained in:
mhammond%skippinet.com.au 2006-06-15 03:06:30 +00:00
Родитель 2a90e56d39
Коммит 90ce32e3d2
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -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,