Changeset 63675 in webkit for trunk/JavaScriptCore/runtime/Executable.h
- Timestamp:
- Jul 19, 2010, 10:19:16 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Executable.h
r63404 r63675 221 221 222 222 private: 223 EvalExecutable(ExecState* exec, const SourceCode& source) 224 : ScriptExecutable(exec, source) 225 , m_evalCodeBlock(0) 226 { 227 } 223 EvalExecutable(ExecState*, const SourceCode&); 228 224 229 225 JSObject* compileInternal(ExecState*, ScopeChainNode*); … … 231 227 virtual PassOwnPtr<ExceptionInfo> reparseExceptionInfo(JSGlobalData*, ScopeChainNode*, CodeBlock*); 232 228 233 EvalCodeBlock*m_evalCodeBlock;229 OwnPtr<EvalCodeBlock> m_evalCodeBlock; 234 230 }; 235 231 … … 268 264 269 265 private: 270 ProgramExecutable(ExecState* exec, const SourceCode& source) 271 : ScriptExecutable(exec, source) 272 , m_programCodeBlock(0) 273 { 274 } 266 ProgramExecutable(ExecState*, const SourceCode&); 275 267 276 268 JSObject* compileInternal(ExecState*, ScopeChainNode*); … … 278 270 virtual PassOwnPtr<ExceptionInfo> reparseExceptionInfo(JSGlobalData*, ScopeChainNode*, CodeBlock*); 279 271 280 ProgramCodeBlock*m_programCodeBlock;272 OwnPtr<ProgramCodeBlock> m_programCodeBlock; 281 273 }; 282 274 … … 359 351 360 352 void recompile(ExecState*); 361 void markAggregate(MarkStack& markStack);353 void markAggregate(MarkStack&); 362 354 static PassRefPtr<FunctionExecutable> fromGlobalCode(const Identifier&, ExecState*, Debugger*, const SourceCode&, JSObject** exception); 363 355 364 356 private: 365 FunctionExecutable(JSGlobalData* globalData, const Identifier& name, const SourceCode& source, bool forceUsesArguments, FunctionParameters* parameters, int firstLine, int lastLine) 366 : ScriptExecutable(globalData, source) 367 , m_numVariables(0) 368 , m_forceUsesArguments(forceUsesArguments) 369 , m_parameters(parameters) 370 , m_codeBlockForCall(0) 371 , m_codeBlockForConstruct(0) 372 , m_name(name) 373 , m_symbolTable(0) 374 { 375 m_firstLine = firstLine; 376 m_lastLine = lastLine; 377 } 378 379 FunctionExecutable(ExecState* exec, const Identifier& name, const SourceCode& source, bool forceUsesArguments, FunctionParameters* parameters, int firstLine, int lastLine) 380 : ScriptExecutable(exec, source) 381 , m_numVariables(0) 382 , m_forceUsesArguments(forceUsesArguments) 383 , m_parameters(parameters) 384 , m_codeBlockForCall(0) 385 , m_codeBlockForConstruct(0) 386 , m_name(name) 387 , m_symbolTable(0) 388 { 389 m_firstLine = firstLine; 390 m_lastLine = lastLine; 391 } 357 FunctionExecutable(JSGlobalData*, const Identifier& name, const SourceCode&, bool forceUsesArguments, FunctionParameters*, int firstLine, int lastLine); 358 FunctionExecutable(ExecState*, const Identifier& name, const SourceCode&, bool forceUsesArguments, FunctionParameters*, int firstLine, int lastLine); 392 359 393 360 JSObject* compileForCallInternal(ExecState*, ScopeChainNode*); … … 400 367 401 368 RefPtr<FunctionParameters> m_parameters; 402 FunctionCodeBlock*m_codeBlockForCall;403 FunctionCodeBlock*m_codeBlockForConstruct;369 OwnPtr<FunctionCodeBlock> m_codeBlockForCall; 370 OwnPtr<FunctionCodeBlock> m_codeBlockForConstruct; 404 371 Identifier m_name; 405 372 SharedSymbolTable* m_symbolTable;
Note:
See TracChangeset
for help on using the changeset viewer.