mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 731503 - workaround llvm.org/pr12127. r=dvander.
This commit is contained in:
parent
7619b471a3
commit
fcbba2ae84
@ -2309,7 +2309,12 @@ SetJumpOffsetAt(BytecodeEmitter *bce, ptrdiff_t off)
|
||||
SET_JUMP_OFFSET(bce->code(off), bce->offset() - off);
|
||||
}
|
||||
|
||||
static JSBool
|
||||
/*
|
||||
* Using MOZ_NEVER_INLINE in here is a workaround for llvm.org/pr12127.
|
||||
* LLVM is deciding to inline this function which uses a lot of stack space
|
||||
* into EmitTree which is recursive and uses relatively little stack space.
|
||||
*/
|
||||
moz_NEVER_INLINE static JSBool
|
||||
EmitSwitch(JSContext *cx, BytecodeEmitter *bce, ParseNode *pn)
|
||||
{
|
||||
JSOp switchOp;
|
||||
|
Loading…
Reference in New Issue
Block a user