-
ggaren@apple.com authored
2009-03-19 Geoffrey Garen <ggaren@apple.com> Reviewed by Cameron Zwarich and Oliver Hunt. Fixed <rdar://problem/6406045> REGRESSION: Stack overflow on PowerPC on fast/workers/use-machine-stack.html (22531) Dialed down the re-entry allowance to 64 (from 128). On a 512K stack, this leaves about 64K for other code on the stack while JavaScript is running. Not perfect, but it solves our crash on PPC. Different platforms may want to dial this down even more. Also, substantially shrunk BytecodeGenerator. Since we allocate one on the stack in order to throw a stack overflow exception -- well, let's just say the old code had an appreciation for irony. SunSpider reports no change. * bytecompiler/BytecodeGenerator.h: * interpreter/Interpreter.h: (JSC::): LayoutTests: 2009-03-19 Geoffrey Garen <ggaren@apple.com> Reviewed by Cameron Zwarich and Oliver Hunt. Re-enabled this test, since it no longer crashes when JavaScriptCore is compiled in non-JIT mode. * fast/workers/use-machine-stack.html: Copied from fast/workers/use-machine-stack.html-disabled. * fast/workers/use-machine-stack.html-disabled: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41852 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ea7de387