Changeset 47582 in webkit for trunk/JavaScriptCore/runtime


Ignore:
Timestamp:
Aug 20, 2009, 11:04:37 AM (16 years ago)
Author:
[email protected]
Message:

Roll out r47571 and related build fixes as it caused us to leak the world without warning.

Location:
trunk/JavaScriptCore/runtime
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/Executable.h

    r47571 r47582  
    2727#define Executable_h
    2828
    29 #include "JSFunction.h"
    3029#include "Nodes.h"
    3130
     
    10099        ~EvalExecutable();
    101100
    102         JSObject* parse(ExecState*, bool allowDebug = true);
     101        JSObject* parse(ExecState* exec, bool allowDebug = true);
    103102
    104103        EvalCodeBlock& bytecode(ScopeChainNode* scopeChainNode)
     
    153152        ~ProgramExecutable();
    154153
    155         JSObject* parse(ExecState*, bool allowDebug = true);
     154        JSObject* parse(ExecState* exec, bool allowDebug = true);
    156155
    157156        // CodeBlocks for program code are transient and therefore to not gain from from throwing out there exception information.
     
    201200        const Identifier& name() { return m_name; }
    202201
    203         JSFunction* make(ExecState* exec, ScopeChainNode* scopeChainNode)
    204         {
    205             return new (exec) JSFunction(exec, this, scopeChainNode);
    206         }
     202        JSFunction* make(ExecState* exec, ScopeChainNode* scopeChain);
    207203
    208204        CodeBlock& bytecode(ScopeChainNode* scopeChainNode)
     
    230226        }
    231227
    232         void recompile(ExecState*);
     228        void recompile(ExecState* exec);
    233229
    234230        ExceptionInfo* reparseExceptionInfo(JSGlobalData*, ScopeChainNode*, CodeBlock*);
     
    259255
    260256    private:
    261         FunctionExecutable(ExecState*);
     257        FunctionExecutable(ExecState* exec);
    262258        void generateJITCode(ScopeChainNode*);
    263259#endif
  • trunk/JavaScriptCore/runtime/JSFunction.h

    r47571 r47582  
    2525#define JSFunction_h
    2626
     27#include "Executable.h"
    2728#include "InternalFunction.h"
    2829
    2930namespace JSC {
    3031
    31     class FunctionExecutable;
    3232    class FunctionPrototype;
    3333    class JSActivation;
     
    122122    }
    123123
     124    inline JSFunction* FunctionExecutable::make(ExecState* exec, ScopeChainNode* scopeChain)
     125    {
     126        return new (exec) JSFunction(exec, this, scopeChain);
     127    }
     128
    124129} // namespace JSC
    125130
Note: See TracChangeset for help on using the changeset viewer.