Changeset 160522 in webkit


Ignore:
Timestamp:
Dec 12, 2013, 6:06:28 PM (12 years ago)
Author:
msaboff@apple.com
Message:

CStack Branch: Add equivalent values from MaxFrameExtentForSlowPathCall.h to lint files
https://bugs.webkit.org/show_bug.cgi?id=125669

Reviewed by Mark Lam.

Added platform specific value of maxFrameExtentForSlowPathCall to llint code.
Also added ASSERTs to check that we are using the save value in both places.

Per review comments, I also updated the CPU(ARM)
... in MaxFrameExtentForSlowPathCall.h

to be just CPU(ARM) since it covers all ARM 32 bit variants.

  • assembler/MaxFrameExtentForSlowPathCall.h:
  • llint/LLIntData.cpp:

(JSC::LLInt::Data::performAssertions):

  • llint/LowLevelInterpreter.asm:
Location:
branches/jsCStack/Source/JavaScriptCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/jsCStack/Source/JavaScriptCore/ChangeLog

    r160519 r160522  
     12013-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
    1192013-12-12  Michael Saboff  <msaboff@apple.com>
    220
  • branches/jsCStack/Source/JavaScriptCore/assembler/MaxFrameExtentForSlowPathCall.h

    r160470 r160522  
    5252static const size_t maxFrameExtentForSlowPathCall = 0;
    5353
    54 #elif CPU(ARM) || CPU(ARM_TRADITIONAL) || CPU(ARM_THUMB2)
     54#elif CPU(ARM)
    5555// First four args in registers, remaining 4 args on stack.
    5656static const size_t maxFrameExtentForSlowPathCall = 16;
  • branches/jsCStack/Source/JavaScriptCore/llint/LLIntData.cpp

    r160514 r160522  
    3434#include "JSScope.h"
    3535#include "LLIntCLoop.h"
     36#include "MaxFrameExtentForSlowPathCall.h"
    3637#include "Opcode.h"
    3738#include "PropertyOffset.h"
     
    125126    ASSERT(ValueNull == TagBitTypeOther);
    126127#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
    127135    ASSERT(StringType == 5);
    128136    ASSERT(ObjectType == 17);
  • branches/jsCStack/Source/JavaScriptCore/llint/LowLevelInterpreter.asm

    r160506 r160522  
    7272const DeletedValueTag = -7
    7373const LowestTag = DeletedValueTag
     74end
     75
     76if X86_64 or ARM64 or C_LOOP
     77const maxFrameExtentForSlowPathCall = 0
     78elsif ARM or ARMv7_TRADITIONAL or ARMv7 or SH4
     79const maxFrameExtentForSlowPathCall = 16
     80elsif X86 or MIPS
     81const maxFrameExtentForSlowPathCall = 32
    7482end
    7583
Note: See TracChangeset for help on using the changeset viewer.