Crash in Structure::visitChildren running iAd.js regression test suite under memory pressure
https://bugs.webkit.org/show_bug.cgi?id=66351 JIT::privateCompilePutByIdTransition expects that regT0 and regT1 have the basePayload and baseTag respectively. In some cases, we may get to this generated code with one or both of these registers trash. One know case is that regT0 on ARM may be trashed as regT0 (r0) is also arg0 and can be overrun with sp due to calls to JIT::restoreReturnAddress(). This patch uses the values on the stack. A longer term solution is to work out all cases so that the register entry assumptions can assured. While fixing this, also determined that the additional stack offset of sizeof(void*) is not needed for ARM. Reviewed by Gavin Barraclough. * jit/JITPropertyAccess32_64.cpp: (JSC::JIT::privateCompilePutByIdTransition): git-svn-id: svn://svn.chromium.org/blink/trunk@93189 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment