Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 775791 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-13 / +23 lines)
Line  Link Here
0
-- a/Source/JavaScriptCore/runtime/MachineContext.h
0
++ b/Source/JavaScriptCore/runtime/MachineContext.h
Lines 196-202 static inline void*& stackPointerImpl(mcontext_t& machineContext) Link Here
196
#error Unknown Architecture
196
#error Unknown Architecture
197
#endif
197
#endif
198
198
199
#elif OS(FUCHSIA) || defined(__GLIBC__) || defined(__BIONIC__)
199
#elif OS(FUCHSIA) || defined(__linux__)
200
200
201
#if CPU(X86)
201
#if CPU(X86)
202
    return reinterpret_cast<void*&>((uintptr_t&) machineContext.gregs[REG_ESP]);
202
    return reinterpret_cast<void*&>((uintptr_t&) machineContext.gregs[REG_ESP]);
Lines 347-353 static inline void*& framePointerImpl(mcontext_t& machineContext) Link Here
347
#error Unknown Architecture
347
#error Unknown Architecture
348
#endif
348
#endif
349
349
350
#elif OS(FUCHSIA) || defined(__GLIBC__) || defined(__BIONIC__)
350
#elif OS(FUCHSIA) || defined(__linux__)
351
351
352
// The following sequence depends on glibc's sys/ucontext.h.
352
// The following sequence depends on glibc's sys/ucontext.h.
353
#if CPU(X86)
353
#if CPU(X86)
Lines 498-504 static inline void*& instructionPointerImpl(mcontext_t& machineContext) Link Here
498
#error Unknown Architecture
498
#error Unknown Architecture
499
#endif
499
#endif
500
500
501
#elif OS(FUCHSIA) || defined(__GLIBC__) || defined(__BIONIC__)
501
#elif OS(FUCHSIA) || defined(__linux__)
502
502
503
// The following sequence depends on glibc's sys/ucontext.h.
503
// The following sequence depends on glibc's sys/ucontext.h.
504
#if CPU(X86)
504
#if CPU(X86)
Lines 656-662 inline void*& argumentPointer<1>(mcontext_t& machineContext) Link Here
656
#error Unknown Architecture
656
#error Unknown Architecture
657
#endif
657
#endif
658
658
659
#elif OS(FUCHSIA) || defined(__GLIBC__) || defined(__BIONIC__)
659
#elif OS(FUCHSIA) || defined(__linux__)
660
660
661
// The following sequence depends on glibc's sys/ucontext.h.
661
// The following sequence depends on glibc's sys/ucontext.h.
662
#if CPU(X86)
662
#if CPU(X86)
Lines 773-779 inline void*& llintInstructionPointer(mcontext_t& machineContext) Link Here
773
#error Unknown Architecture
773
#error Unknown Architecture
774
#endif
774
#endif
775
775
776
#elif OS(FUCHSIA) || defined(__GLIBC__) || defined(__BIONIC__)
776
#elif OS(FUCHSIA) || defined(__linux__)
777
777
778
// The following sequence depends on glibc's sys/ucontext.h.
778
// The following sequence depends on glibc's sys/ucontext.h.
779
#if CPU(X86)
779
#if CPU(X86)
780
-- a/Source/JavaScriptCore/runtime/OptionsList.h
780
++ b/Source/JavaScriptCore/runtime/OptionsList.h
Lines 43-48 constexpr bool enableWebAssemblyStreamingApi = true; Link Here
43
constexpr bool enableWebAssemblyStreamingApi = false;
43
constexpr bool enableWebAssemblyStreamingApi = false;
44
#endif
44
#endif
45
45
46
#if defined(__GLIBC__)
47
constexpr unsigned jscMaxPerThreadStack = 5 * MB;
48
constexpr unsigned jscSoftReservedZoneSize = 128 * KB;
49
constexpr unsigned jscReservedZoneSize = 64 * KB;
50
#else
51
constexpr unsigned jscMaxPerThreadStack = 80 * KB;
52
constexpr unsigned jscSoftReservedZoneSize = 32 * KB;
53
constexpr unsigned jscReservedZoneSize = 16 * KB;
54
#endif
55
46
// How do JSC VM options work?
56
// How do JSC VM options work?
47
// ===========================
57
// ===========================
48
// The FOR_EACH_JSC_OPTION() macro below defines a list of all JSC options in use,
58
// The FOR_EACH_JSC_OPTION() macro below defines a list of all JSC options in use,
Lines 90-98 constexpr bool enableWebAssemblyStreamingApi = false; Link Here
90
    \
100
    \
91
    v(Bool, reportMustSucceedExecutableAllocations, false, Normal, nullptr) \
101
    v(Bool, reportMustSucceedExecutableAllocations, false, Normal, nullptr) \
92
    \
102
    \
93
    v(Unsigned, maxPerThreadStackUsage, 5 * MB, Normal, "Max allowed stack usage by the VM") \
103
    v(Unsigned, maxPerThreadStackUsage, jscMaxPerThreadStack, Normal, "Max allowed stack usage by the VM") \
94
    v(Unsigned, softReservedZoneSize, 128 * KB, Normal, "A buffer greater than reservedZoneSize that reserves space for stringifying exceptions.") \
104
    v(Unsigned, softReservedZoneSize, jscSoftReservedZoneSize, Normal, "A buffer greater than reservedZoneSize that reserves space for stringifying exceptions.") \
95
    v(Unsigned, reservedZoneSize, 64 * KB, Normal, "The amount of stack space we guarantee to our clients (and to interal VM code that does not call out to clients).") \
105
    v(Unsigned, reservedZoneSize, jscReservedZoneSize, Normal, "The amount of stack space we guarantee to our clients (and to interal VM code that does not call out to clients).") \
96
    \
106
    \
97
    v(Bool, crashIfCantAllocateJITMemory, false, Normal, nullptr) \
107
    v(Bool, crashIfCantAllocateJITMemory, false, Normal, nullptr) \
98
    v(Unsigned, jitMemoryReservationSize, 0, Normal, "Set this number to change the executable allocation size in ExecutableAllocatorFixedVMPool. (In bytes.)") \
108
    v(Unsigned, jitMemoryReservationSize, 0, Normal, "Set this number to change the executable allocation size in ExecutableAllocatorFixedVMPool. (In bytes.)") \
99
-- a/Source/WebCore/xml/XPathGrammar.cpp
109
++ b/Source/WebCore/xml/XPathGrammar.cpp
Lines 966-972 int yydebug; Link Here
966
#if YYERROR_VERBOSE
966
#if YYERROR_VERBOSE
967
967
968
# ifndef yystrlen
968
# ifndef yystrlen
969
#  if defined __GLIBC__ && defined _STRING_H
969
#  if defined __linux__ && defined _STRING_H
970
#   define yystrlen strlen
970
#   define yystrlen strlen
971
#  else
971
#  else
972
/* Return the length of YYSTR.  */
972
/* Return the length of YYSTR.  */
Lines 989-995 yystrlen (yystr) Link Here
989
# endif
989
# endif
990
990
991
# ifndef yystpcpy
991
# ifndef yystpcpy
992
#  if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
992
#  if defined __linux__ && defined _STRING_H && defined _GNU_SOURCE
993
#   define yystpcpy stpcpy
993
#   define yystpcpy stpcpy
994
#  else
994
#  else
995
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
995
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in

Return to bug 775791