Changeset 161361 in webkit
- Timestamp:
- Jan 6, 2014, 12:23:07 PM (13 years ago)
- Location:
- branches/jsCStack/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
llint/LowLevelInterpreter64.asm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/jsCStack/Source/JavaScriptCore/ChangeLog
r161326 r161361 1 2014-01-06 Mark Lam <mark.lam@apple.com> 2 3 CStack: jsStackLimit fixup should not exceed native stack limit. 4 https://bugs.webkit.org/show_bug.cgi?id=126487. 5 6 Reviewed by Michael Saboff. 7 8 In doCallToJavaScript, we fixup VM::m_jsStackLimit once we know what the 9 stackPointerAtVMEntry is. However, we also need to ensure that the fixed 10 up jsStackLimit does not exceed the native stack limit. This check was 11 missing, and resulted in an assertion failure when running testapi on 12 platforms that have smaller stacks. This is now fixed. 13 14 * llint/LowLevelInterpreter64.asm: 15 1 16 2014-01-05 Michael Saboff <msaboff@apple.com> 2 17 -
branches/jsCStack/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm
r161300 r161361 129 129 subp VM::stackPointerAtVMEntry[vm], temp2, temp2 130 130 subp VM::m_jsStackLimit[vm], temp2, temp2 131 if C_LOOP 132 else 133 bpaeq temp2, VM::m_stackLimit[vm], .noNeedToCapJSStackToNativeStackLimit 134 loadp VM::m_stackLimit[vm], temp2 135 .noNeedToCapJSStackToNativeStackLimit: 136 end 131 137 storep temp2, VM::m_jsStackLimit[vm] 132 138 move sp, temp2
Note:
See TracChangeset
for help on using the changeset viewer.