mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1037871 - Enable Latin1 strings in SpiderMonkey. r=luke
This commit is contained in:
parent
a8ab54cb4f
commit
95223b2fc5
@ -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")
|
||||
|
@ -881,7 +881,7 @@ AutoStableStringChars::initTwoByte(JSContext *cx, JSString *s)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool js::EnableLatin1Strings = false;
|
||||
bool js::EnableLatin1Strings = true;
|
||||
|
||||
#ifdef DEBUG
|
||||
void
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user