Changeset 47582 in webkit for trunk/JavaScriptCore/runtime
- Timestamp:
- Aug 20, 2009, 11:04:37 AM (16 years ago)
- Location:
- trunk/JavaScriptCore/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Executable.h
r47571 r47582 27 27 #define Executable_h 28 28 29 #include "JSFunction.h"30 29 #include "Nodes.h" 31 30 … … 100 99 ~EvalExecutable(); 101 100 102 JSObject* parse(ExecState* , bool allowDebug = true);101 JSObject* parse(ExecState* exec, bool allowDebug = true); 103 102 104 103 EvalCodeBlock& bytecode(ScopeChainNode* scopeChainNode) … … 153 152 ~ProgramExecutable(); 154 153 155 JSObject* parse(ExecState* , bool allowDebug = true);154 JSObject* parse(ExecState* exec, bool allowDebug = true); 156 155 157 156 // CodeBlocks for program code are transient and therefore to not gain from from throwing out there exception information. … … 201 200 const Identifier& name() { return m_name; } 202 201 203 JSFunction* make(ExecState* exec, ScopeChainNode* scopeChainNode) 204 { 205 return new (exec) JSFunction(exec, this, scopeChainNode); 206 } 202 JSFunction* make(ExecState* exec, ScopeChainNode* scopeChain); 207 203 208 204 CodeBlock& bytecode(ScopeChainNode* scopeChainNode) … … 230 226 } 231 227 232 void recompile(ExecState* );228 void recompile(ExecState* exec); 233 229 234 230 ExceptionInfo* reparseExceptionInfo(JSGlobalData*, ScopeChainNode*, CodeBlock*); … … 259 255 260 256 private: 261 FunctionExecutable(ExecState* );257 FunctionExecutable(ExecState* exec); 262 258 void generateJITCode(ScopeChainNode*); 263 259 #endif -
trunk/JavaScriptCore/runtime/JSFunction.h
r47571 r47582 25 25 #define JSFunction_h 26 26 27 #include "Executable.h" 27 28 #include "InternalFunction.h" 28 29 29 30 namespace JSC { 30 31 31 class FunctionExecutable;32 32 class FunctionPrototype; 33 33 class JSActivation; … … 122 122 } 123 123 124 inline JSFunction* FunctionExecutable::make(ExecState* exec, ScopeChainNode* scopeChain) 125 { 126 return new (exec) JSFunction(exec, this, scopeChain); 127 } 128 124 129 } // namespace JSC 125 130
Note:
See TracChangeset
for help on using the changeset viewer.