Changeset 34304 in webkit for trunk/JavaScriptCore/VM/Machine.h


Ignore:
Timestamp:
Jun 2, 2008, 9:36:01 AM (17 years ago)
Author:
[email protected]
Message:

2008-06-02 Geoffrey Garen <[email protected]>

Reviewed by Adele Peterson.

Added a specific affordance for avoiding stack overflow when converting
recursive arrays to string, in preparation for removing generic stack
overflow checking from JSObject::call.


Tested by fast/js/toString-stack-overflow.html.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/Machine.h

    r34182 r34304  
    5555    };
    5656
     57    enum { MaxReentryDepth = 128 };
     58
    5759    class Machine {
    5860    public:
     
    103105       
    104106    private:
    105         enum { MaxReentryDepth = 128 };
    106107        typedef enum { Normal, InitializeAndReturn } ExecutionFlag;
    107108
Note: See TracChangeset for help on using the changeset viewer.