Changeset 59587 in webkit for trunk/JavaScriptCore/runtime/Executable.h
- Timestamp:
- May 16, 2010, 6:02:33 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Executable.h
r59339 r59587 320 320 const Identifier& name() { return m_name; } 321 321 size_t parameterCount() const { return m_parameters->size(); } 322 size_tvariableCount() const { return m_numVariables; }322 unsigned variableCount() const { return m_numVariables; } 323 323 UString paramString() const; 324 324 SharedSymbolTable* symbolTable() const { return m_symbolTable; } … … 332 332 FunctionExecutable(JSGlobalData* globalData, const Identifier& name, const SourceCode& source, bool forceUsesArguments, FunctionParameters* parameters, int firstLine, int lastLine) 333 333 : ScriptExecutable(globalData, source) 334 , m_numVariables(0) 334 335 , m_forceUsesArguments(forceUsesArguments) 335 336 , m_parameters(parameters) … … 337 338 , m_codeBlockForConstruct(0) 338 339 , m_name(name) 339 , m_numVariables(0)340 340 , m_symbolTable(0) 341 341 { … … 346 346 FunctionExecutable(ExecState* exec, const Identifier& name, const SourceCode& source, bool forceUsesArguments, FunctionParameters* parameters, int firstLine, int lastLine) 347 347 : ScriptExecutable(exec, source) 348 , m_numVariables(0) 348 349 , m_forceUsesArguments(forceUsesArguments) 349 350 , m_parameters(parameters) … … 351 352 , m_codeBlockForConstruct(0) 352 353 , m_name(name) 353 , m_numVariables(0)354 354 , m_symbolTable(0) 355 355 { … … 361 361 void compileForConstruct(ExecState*, ScopeChainNode*); 362 362 363 bool m_forceUsesArguments; 363 unsigned m_numVariables : 31; 364 bool m_forceUsesArguments : 1; 365 364 366 RefPtr<FunctionParameters> m_parameters; 365 367 FunctionCodeBlock* m_codeBlockForCall; 366 368 FunctionCodeBlock* m_codeBlockForConstruct; 367 369 Identifier m_name; 368 size_t m_numVariables;369 370 SharedSymbolTable* m_symbolTable; 370 371
Note:
See TracChangeset
for help on using the changeset viewer.