Changeset 27126 in webkit for trunk/JavaScriptCore/kjs/nodes.h
- Timestamp:
- Oct 26, 2007, 3:43:03 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/nodes.h
r27028 r27126 1235 1235 1236 1236 virtual Completion execute(ExecState*) KJS_FAST_CALL; 1237 1238 SymbolTable& symbolTable() { return m_symbolTable; } 1237 1239 1238 1240 void addParam(const Identifier& ident) KJS_FAST_CALL; … … 1242 1244 Vector<Identifier>& parameters() KJS_FAST_CALL { return m_parameters; } 1243 1245 ALWAYS_INLINE void processDeclarations(ExecState*); 1244 ALWAYS_INLINE void processDeclarationsF unctionCode(ExecState*);1245 ALWAYS_INLINE void processDeclarations ProgramCode(ExecState*);1246 ALWAYS_INLINE void processDeclarationsForFunctionCode(ExecState*); 1247 ALWAYS_INLINE void processDeclarationsForProgramCode(ExecState*); 1246 1248 private: 1247 1249 UString m_sourceURL; … … 1251 1253 bool m_initializedDeclarationStacks; 1252 1254 1253 // Properties that will go into the ActivationImp's symbol table. (Used for initializing the ActivationImp.) 1254 DeclarationStacks::VarStack m_varStack; 1255 DeclarationStacks::FunctionStack m_functionStack; 1256 Vector<Identifier> m_parameters; 1255 void initializesymbolTable(); 1256 bool m_initializedSymbolTable; 1257 1258 // Properties that will go into the ActivationImp's local storage. (Used for initializing the ActivationImp.) 1259 DeclarationStacks::VarStack m_varStack; 1260 DeclarationStacks::FunctionStack m_functionStack; 1261 Vector<Identifier> m_parameters; 1262 1263 // Mapping from property name -> local storage index. (Used once to transform the AST, and subsequently for residual slow case lookups.) 1264 SymbolTable m_symbolTable; 1257 1265 }; 1258 1266
Note:
See TracChangeset
for help on using the changeset viewer.