Changeset 160730 in webkit


Ignore:
Timestamp:
Dec 17, 2013, 3:30:04 PM (11 years ago)
Author:
mark.lam@apple.com
Message:

Introduce a maxFrameExtentForSlowPathCallInRegisters value.
https://bugs.webkit.org/show_bug.cgi?id=125877.

Reviewed by Michael Saboff.

Sometimes, we need this max frame extent value in units of Registers.
So, might as well provide it at the source.

  • assembler/MaxFrameExtentForSlowPathCall.h:
Location:
branches/jsCStack/Source/JavaScriptCore
Files:
2 edited

Legend:

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

    r160714 r160730  
     12013-12-17  Mark Lam  <mark.lam@apple.com>
     2
     3        Introduce a maxFrameExtentForSlowPathCallInRegisters value.
     4        https://bugs.webkit.org/show_bug.cgi?id=125877.
     5
     6        Reviewed by Michael Saboff.
     7
     8        Sometimes, we need this max frame extent value in units of Registers.
     9        So, might as well provide it at the source.
     10
     11        * assembler/MaxFrameExtentForSlowPathCall.h:
     12
    1132013-12-16  Michael Saboff  <msaboff@apple.com>
    214
  • branches/jsCStack/Source/JavaScriptCore/assembler/MaxFrameExtentForSlowPathCall.h

    r160591 r160730  
    2626#ifndef MaxFrameExtentForSlowPathCall_h
    2727#define MaxFrameExtentForSlowPathCall_h
     28
     29#include "Register.h"
     30#include <wtf/Assertions.h>
    2831
    2932namespace JSC {
     
    6972#endif
    7073
     74COMPILE_ASSERT(!(maxFrameExtentForSlowPathCall % sizeof(Register)), extent_must_be_in_multiples_of_registers);
     75
     76static const size_t maxFrameExtentForSlowPathCallInRegisters = maxFrameExtentForSlowPathCall / sizeof(Register);
     77
    7178} // namespace JSC
    7279
Note: See TracChangeset for help on using the changeset viewer.