Changeset 34838 in webkit for trunk/JavaScriptCore/VM/CodeGenerator.h
- Timestamp:
- Jun 27, 2008, 3:35:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CodeGenerator.h
r34784 r34838 77 77 static void setDumpsGeneratedCode(bool dumpsGeneratedCode); 78 78 79 CodeGenerator(ProgramNode*, const Debugger*, const ScopeChain&, SymbolTable*, CodeBlock*, VarStack&, FunctionStack& , bool canCreateGlobals);79 CodeGenerator(ProgramNode*, const Debugger*, const ScopeChain&, SymbolTable*, CodeBlock*, VarStack&, FunctionStack&); 80 80 CodeGenerator(FunctionBodyNode*, const Debugger*, const ScopeChain&, SymbolTable*, CodeBlock*); 81 81 CodeGenerator(EvalNode*, const Debugger*, const ScopeChain&, SymbolTable*, EvalCodeBlock*); … … 313 313 { 314 314 RegisterID* local; 315 addVar(ident, local, isConstant);315 addVar(ident, isConstant, local); 316 316 return local; 317 317 } 318 319 318 // Returns true if a new RegisterID was added, false if a pre-existing RegisterID was re-used. 320 bool addVar(const Identifier&, RegisterID*&, bool isConstant); 319 bool addVar(const Identifier&, bool isConstant, RegisterID*&); 320 321 322 // Returns the RegisterID corresponding to ident. 323 RegisterID* addGlobalVar(const Identifier& ident, bool isConstant) 324 { 325 RegisterID* local; 326 addGlobalVar(ident, isConstant, local); 327 return local; 328 } 329 // Returns true if a new RegisterID was added, false if a pre-existing RegisterID was re-used. 330 bool addGlobalVar(const Identifier&, bool isConstant, RegisterID*&); 321 331 322 332 RegisterID* addParameter(const Identifier&); … … 359 369 int m_nextParameter; 360 370 371 int m_globalVarStorageOffset; 372 361 373 // Constant pool 362 374 IdentifierMap m_identifierMap;
Note:
See TracChangeset
for help on using the changeset viewer.