mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1120960 - Remove NativeObject::lookup workaround for MSVC bug. r=Waldo
This commit is contained in:
parent
98fb736d35
commit
845df2597c
@ -270,9 +270,8 @@ CanEnterBaselineJIT(JSContext *cx, HandleScript script, InterpreterFrame *osrFra
|
||||
return Method_Compiled;
|
||||
|
||||
// Check script warm-up counter.
|
||||
if (script->incWarmUpCounter() <= js_JitOptions.baselineWarmUpThreshold) {
|
||||
if (script->incWarmUpCounter() <= js_JitOptions.baselineWarmUpThreshold)
|
||||
return Method_Skipped;
|
||||
}
|
||||
|
||||
if (script->isCallsiteClone()) {
|
||||
// Ensure the original function is compiled too, so that bailouts from
|
||||
|
@ -270,14 +270,6 @@ js::NativeObject::slotInRange(uint32_t slot, SentinelAllowed sentinel) const
|
||||
}
|
||||
#endif /* DEBUG */
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
/*
|
||||
* Work around a compiler bug in MSVC9 and above, where inlining this function
|
||||
* causes stack pointer offsets to go awry and spp to refer to something higher
|
||||
* up the stack.
|
||||
*/
|
||||
MOZ_NEVER_INLINE
|
||||
#endif
|
||||
Shape *
|
||||
js::NativeObject::lookup(ExclusiveContext *cx, jsid id)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user