Changeset 160522 in webkit
- Timestamp:
- Dec 12, 2013, 6:06:28 PM (12 years ago)
- Location:
- branches/jsCStack/Source/JavaScriptCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/jsCStack/Source/JavaScriptCore/ChangeLog
r160519 r160522 1 2013-12-12 Michael Saboff <msaboff@apple.com> 2 3 CStack Branch: Add equivalent values from MaxFrameExtentForSlowPathCall.h to lint files 4 https://bugs.webkit.org/show_bug.cgi?id=125669 5 6 Reviewed by Mark Lam. 7 8 Added platform specific value of maxFrameExtentForSlowPathCall to llint code. 9 Also added ASSERTs to check that we are using the save value in both places. 10 11 Per review comments, I also updated the CPU(ARM) || ... in MaxFrameExtentForSlowPathCall.h 12 to be just CPU(ARM) since it covers all ARM 32 bit variants. 13 14 * assembler/MaxFrameExtentForSlowPathCall.h: 15 * llint/LLIntData.cpp: 16 (JSC::LLInt::Data::performAssertions): 17 * llint/LowLevelInterpreter.asm: 18 1 19 2013-12-12 Michael Saboff <msaboff@apple.com> 2 20 -
branches/jsCStack/Source/JavaScriptCore/assembler/MaxFrameExtentForSlowPathCall.h
r160470 r160522 52 52 static const size_t maxFrameExtentForSlowPathCall = 0; 53 53 54 #elif CPU(ARM) || CPU(ARM_TRADITIONAL) || CPU(ARM_THUMB2)54 #elif CPU(ARM) 55 55 // First four args in registers, remaining 4 args on stack. 56 56 static const size_t maxFrameExtentForSlowPathCall = 16; -
branches/jsCStack/Source/JavaScriptCore/llint/LLIntData.cpp
r160514 r160522 34 34 #include "JSScope.h" 35 35 #include "LLIntCLoop.h" 36 #include "MaxFrameExtentForSlowPathCall.h" 36 37 #include "Opcode.h" 37 38 #include "PropertyOffset.h" … … 125 126 ASSERT(ValueNull == TagBitTypeOther); 126 127 #endif 128 #if CPU(X86_64) || CPU(ARM64) || ENABLE(LLINT_C_LOOP) 129 ASSERT(maxFrameExtentForSlowPathCall == 0); 130 #elif CPU(ARM) || CPU(SH4) 131 ASSERT(maxFrameExtentForSlowPathCall == 16); 132 #elif CPU(X86) || CPU(MIPS) 133 ASSERT(maxFrameExtentForSlowPathCall == 32); 134 #endif 127 135 ASSERT(StringType == 5); 128 136 ASSERT(ObjectType == 17); -
branches/jsCStack/Source/JavaScriptCore/llint/LowLevelInterpreter.asm
r160506 r160522 72 72 const DeletedValueTag = -7 73 73 const LowestTag = DeletedValueTag 74 end 75 76 if X86_64 or ARM64 or C_LOOP 77 const maxFrameExtentForSlowPathCall = 0 78 elsif ARM or ARMv7_TRADITIONAL or ARMv7 or SH4 79 const maxFrameExtentForSlowPathCall = 16 80 elsif X86 or MIPS 81 const maxFrameExtentForSlowPathCall = 32 74 82 end 75 83
Note:
See TracChangeset
for help on using the changeset viewer.