Changeset 177149 in webkit


Ignore:
Timestamp:
Dec 11, 2014, 9:09:04 AM (10 years ago)
Author:
mark.lam@apple.com
Message:

Fix broken build after r177146.
https://bugs.webkit.org/show_bug.cgi?id=139533

Not reviewed.

  • interpreter/CallFrame.h:

(JSC::ExecState::init):

  • Restored CallFrame::init() minus the unused JSScope* arg.
  • runtime/JSGlobalObject.cpp:

(JSC::JSGlobalObject::init):

  • Remove JSScope* arg when calling CallFrame::init().
Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r177146 r177149  
     12014-12-11  Mark Lam  <mark.lam@apple.com>
     2
     3        Fix broken build after r177146.
     4        https://bugs.webkit.org/show_bug.cgi?id=139533
     5
     6        Not reviewed.
     7
     8        * interpreter/CallFrame.h:
     9        (JSC::ExecState::init):
     10        - Restored CallFrame::init() minus the unused JSScope* arg.
     11        * runtime/JSGlobalObject.cpp:
     12        (JSC::JSGlobalObject::init):
     13        - Remove JSScope* arg when calling CallFrame::init().
     14
    1152014-12-11  Michael Saboff  <msaboff@apple.com>
    216
  • trunk/Source/JavaScriptCore/interpreter/CallFrame.h

    r177146 r177149  
    189189        void setActivation(JSLexicalEnvironment*);
    190190
     191        ALWAYS_INLINE void init(CodeBlock* codeBlock, Instruction* vPC,
     192            CallFrame* callerFrame, int argc, JSObject* callee)
     193        {
     194            ASSERT(callerFrame == noCaller() || callerFrame->stack()->containsAddress(this));
     195
     196            setCodeBlock(codeBlock);
     197            setCallerFrame(callerFrame);
     198            setReturnPC(vPC); // This is either an Instruction* or a pointer into JIT generated code stored as an Instruction*.
     199            setArgumentCountIncludingThis(argc); // original argument count (for the sake of the "arguments" object)
     200            setCallee(callee);
     201        }
     202
    191203        // Read a register from the codeframe (or constant from the CodeBlock).
    192204        Register& r(int);
  • trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp

    r177030 r177149  
    205205    ASSERT(vm.currentThreadIsHoldingAPILock());
    206206
    207     JSGlobalObject::globalExec()->init(0, 0, this, CallFrame::noCaller(), 0, 0);
     207    JSGlobalObject::globalExec()->init(0, 0, CallFrame::noCaller(), 0, 0);
    208208
    209209    m_debugger = 0;
Note: See TracChangeset for help on using the changeset viewer.