Ignore:
Timestamp:
Oct 8, 2008, 10:50:42 AM (17 years ago)
Author:
[email protected]
Message:

Roll out r37427 because it causes an infinite recursion loading about:blank.

https://bugs.webkit.org/show_bug.cgi?id=21476

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/DebuggerCallFrame.h

    r37427 r37428  
    3030#define DebuggerCallFrame_h
    3131
    32 #include "ExecState.h"
    33 
    3432namespace JSC {
     33   
     34    class CodeBlock;
     35    class ExecState;
     36    class JSGlobalObject;
     37    class JSObject;
     38    class JSValue;
     39    class Machine;
     40    class UString;
     41    class Register;
     42    class ScopeChainNode;
    3543   
    3644    class DebuggerCallFrame {
    3745    public:
    38         enum Type { ProgramType, FunctionType };
     46        enum Type {
     47            ProgramType,
     48            FunctionType
     49        };
    3950
    40         DebuggerCallFrame(CallFrame* callFrame, JSValue* exception)
    41             : m_callFrame(callFrame)
     51        DebuggerCallFrame(JSGlobalObject* dynamicGlobalObject, const CodeBlock* codeBlock, ScopeChainNode* scopeChain, Register* r, JSValue* exception)
     52            : m_dynamicGlobalObject(dynamicGlobalObject)
     53            , m_codeBlock(codeBlock)
     54            , m_scopeChain(scopeChain)
     55            , m_registers(r)
    4256            , m_exception(exception)
    4357        {
    4458        }
    4559
    46         JSGlobalObject* dynamicGlobalObject() const { return m_callFrame->dynamicGlobalObject(); }
    47         const ScopeChainNode* scopeChain() const { return m_callFrame->scopeChain(); }
     60        JSGlobalObject* dynamicGlobalObject() const { return m_dynamicGlobalObject; }
     61        const ScopeChainNode* scopeChain() const { return m_scopeChain; }
    4862        const UString* functionName() const;
    4963        Type type() const;
     
    5367
    5468    private:
    55         CallFrame* m_callFrame;
     69        JSGlobalObject* m_dynamicGlobalObject;
     70        const CodeBlock* m_codeBlock;
     71        ScopeChainNode* m_scopeChain;
     72        Register* m_registers;
    5673        JSValue* m_exception;
    5774    };
Note: See TracChangeset for help on using the changeset viewer.