Ignore:
Timestamp:
Jul 30, 2009, 1:57:44 PM (16 years ago)
Author:
[email protected]
Message:

Merged nitro-extreme branch into trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/interpreter/CallFrame.h

    r45609 r46598  
    106106        Instruction* returnPC() const { return this[RegisterFile::ReturnPC].vPC(); }
    107107
    108         void setCalleeArguments(Arguments* arguments) { this[RegisterFile::OptionalCalleeArguments] = arguments; }
     108        void setCalleeArguments(JSValue arguments) { this[RegisterFile::OptionalCalleeArguments] = arguments; }
    109109        void setCallerFrame(CallFrame* callerFrame) { this[RegisterFile::CallerFrame] = callerFrame; }
    110110        void setScopeChain(ScopeChainNode* scopeChain) { this[RegisterFile::ScopeChain] = scopeChain; }
     
    119119            setCallerFrame(callerFrame);
    120120            this[RegisterFile::ReturnPC] = vPC; // This is either an Instruction* or a pointer into JIT generated code stored as an Instruction*.
    121             this[RegisterFile::ReturnValueRegister] = returnValueRegister;
     121            this[RegisterFile::ReturnValueRegister] = Register::withInt(returnValueRegister);
    122122            setArgumentCount(argc); // original argument count (for the sake of the "arguments" object)
    123123            setCallee(function);
    124             setCalleeArguments(0);
     124            setCalleeArguments(JSValue());
    125125        }
    126126
     
    136136
    137137    private:
    138         void setArgumentCount(int count) { this[RegisterFile::ArgumentCount] = count; }
     138        void setArgumentCount(int count) { this[RegisterFile::ArgumentCount] = Register::withInt(count); }
    139139        void setCallee(JSFunction* callee) { this[RegisterFile::Callee] = callee; }
    140140        void setCodeBlock(CodeBlock* codeBlock) { this[RegisterFile::CodeBlock] = codeBlock; }
Note: See TracChangeset for help on using the changeset viewer.