Bug 1037871 - Enable Latin1 strings in SpiderMonkey. r=luke

This commit is contained in:
Jan de Mooij 2014-07-15 08:21:40 +02:00
parent a8ab54cb4f
commit 95223b2fc5
3 changed files with 3 additions and 3 deletions

View File

@ -6318,7 +6318,7 @@ main(int argc, char **argv, char **envp)
"to test JIT codegen (no-op on platforms other than x86 and x64).")
|| !op.addBoolOption('\0', "fuzzing-safe", "Don't expose functions that aren't safe for "
"fuzzers to call")
|| !op.addBoolOption('\0', "latin1-strings", "Enable Latin1 strings (default: off)")
|| !op.addBoolOption('\0', "latin1-strings", "Enable Latin1 strings (default: on)")
#ifdef DEBUG
|| !op.addBoolOption('\0', "dump-entrained-variables", "Print variables which are "
"unnecessarily entrained by inner functions")

View File

@ -881,7 +881,7 @@ AutoStableStringChars::initTwoByte(JSContext *cx, JSString *s)
return true;
}
bool js::EnableLatin1Strings = false;
bool js::EnableLatin1Strings = true;
#ifdef DEBUG
void

View File

@ -28,7 +28,7 @@ namespace js {
*
* https://developer.mozilla.org/en-US/docs/SpiderMonkey/Internals/Bytecode
*/
static const uint32_t XDR_BYTECODE_VERSION = uint32_t(0xb973c0de - 176);
static const uint32_t XDR_BYTECODE_VERSION = uint32_t(0xb973c0de - 177);
class XDRBuffer {
public: