Ignore:
Timestamp:
Sep 29, 2008, 6:14:26 PM (17 years ago)
Author:
Darin Adler
Message:

JavaScriptCore:

2008-09-29 Darin Adler <Darin Adler>

Reviewed by Sam Weinig.

  • JavaScriptCore.exp: Updated since JSGlobalObject::init no longer takes a parameter.
  • VM/Machine.cpp: (JSC::Machine::execute): Removed m_registerFile argument for ExecState constructors.
  • kjs/DebuggerCallFrame.cpp: (JSC::DebuggerCallFrame::evaluate): Removed globalThisValue argument for ExecState constructor.
  • kjs/ExecState.cpp: (JSC::ExecState::ExecState): Removed globalThisValue and registerFile arguments to constructors.
  • kjs/ExecState.h: Removed m_globalThisValue and m_registerFile data members.
  • kjs/JSGlobalObject.cpp: (JSC::JSGlobalObject::init): Removed globalThisValue argument for ExecState constructor.
  • kjs/JSGlobalObject.h: (JSC::JSGlobalObject::JSGlobalObject): Got rid of parameter for the init function.

WebCore:

2008-09-29 Darin Adler <Darin Adler>

Reviewed by Sam Weinig.

  • bindings/js/JSDOMWindowBase.cpp: (WebCore::JSDOMWindowBase::JSDOMWindowBase): Removed globalThisValue argument for base class constructor.
File:
1 edited

Legend:

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

    r37086 r37088  
    3030namespace JSC  {
    3131
    32     class EvalNode;
    33     class FunctionBodyNode;
    3432    class JSValue;
    35     class GlobalFuncImp;
    36     class Interpreter;
    37     class JSGlobalObject;
    38     class JSVariableObject;
    39     class Machine;
    40     class ProgramNode;
    4133    class Register;
    42     class RegisterFile;
    43     class ScopeNode;
    4434
    45     struct Instruction;
    46    
    4735    // Represents the current state of script execution.
    4836    // Passed as the first argument to most functions.
     
    5442        friend class DebuggerCallFrame;
    5543    public:
    56         ExecState(JSGlobalObject*, JSObject* globalThisValue, Register* callFrame);
     44        ExecState(JSGlobalObject*, Register* callFrame);
    5745
    5846        // Global object in which execution began.
     
    10189        ExecState() { }
    10290
    103         ExecState(ExecState*, RegisterFile*, Register* callFrame);
     91        ExecState(ExecState*, Register* callFrame);
    10492
    10593        bool isGlobalObject(JSObject*) const;
    10694
    10795        JSGlobalObject* m_globalObject;
    108         JSObject* m_globalThisValue;
    10996
    11097        JSValue* m_exception;
     
    116103        // These values are controlled by the machine.
    117104        ExecState* m_prev;
    118         RegisterFile* m_registerFile;
    119105        Register* m_callFrame; // The most recent call frame.
    120106    };
Note: See TracChangeset for help on using the changeset viewer.