mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fixed another bogus assertion (bug 522569, r=brendan).
This commit is contained in:
parent
2cb9ec03b0
commit
9936709fd7
@ -6374,7 +6374,12 @@ ExecuteTree(JSContext* cx, Fragment* f, uintN& inlineCallCount,
|
||||
state->sp = stack_buffer + (ti->nativeStackBase/sizeof(double));
|
||||
state->eos = stack_buffer + MAX_NATIVE_STACK_SLOTS;
|
||||
|
||||
JS_ASSERT(JS_MAX_INLINE_CALL_COUNT > inlineCallCount);
|
||||
/*
|
||||
* inlineCallCount has already been incremented, if being invoked from
|
||||
* EnterFrame. It is okay to have a 0-frame restriction since the JIT
|
||||
* might not need any frames.
|
||||
*/
|
||||
JS_ASSERT(inlineCallCount <= JS_MAX_INLINE_CALL_COUNT);
|
||||
|
||||
/* Set up the native call stack frame. */
|
||||
FrameInfo* callstack_buffer[MAX_CALL_STACK_ENTRIES];
|
||||
|
Loading…
Reference in New Issue
Block a user