Changeset 37050 in webkit for trunk/JavaScriptCore/kjs/nodes.h
- Timestamp:
- Sep 28, 2008, 8:04:08 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/nodes.h
r36976 r37050 2168 2168 class ScopeNode : public BlockNode { 2169 2169 public: 2170 ScopeNode(JSGlobalData*, SourceElements*, VarStack*, FunctionStack*, bool usesEval, bool needsClosure, int numConstants) JSC_FAST_CALL;2170 ScopeNode(JSGlobalData*, SourceElements*, VarStack*, FunctionStack*, bool usesEval, bool needsClosure, bool usesArguments, int numConstants) JSC_FAST_CALL; 2171 2171 2172 2172 int sourceId() const JSC_FAST_CALL { return m_sourceId; } … … 2176 2176 bool usesEval() const { return m_usesEval; } 2177 2177 bool needsClosure() const { return m_needsClosure; } 2178 2178 bool usesArguments() const { return m_usesArguments; } 2179 2179 2180 VarStack& varStack() { return m_varStack; } 2180 2181 FunctionStack& functionStack() { return m_functionStack; } … … 2196 2197 bool m_usesEval; 2197 2198 bool m_needsClosure; 2199 bool m_usesArguments; 2198 2200 int m_numConstants; 2199 2201 }; … … 2201 2203 class ProgramNode : public ScopeNode { 2202 2204 public: 2203 static ProgramNode* create(JSGlobalData*, SourceElements*, VarStack*, FunctionStack*, SourceProvider*, bool usesEval, bool needsClosure, int numConstants) JSC_FAST_CALL;2205 static ProgramNode* create(JSGlobalData*, SourceElements*, VarStack*, FunctionStack*, SourceProvider*, bool usesEval, bool needsClosure, bool usesArguments, int numConstants) JSC_FAST_CALL; 2204 2206 2205 2207 ProgramCodeBlock& byteCode(ScopeChainNode* scopeChain) JSC_FAST_CALL … … 2211 2213 2212 2214 private: 2213 ProgramNode(JSGlobalData*, SourceElements*, VarStack*, FunctionStack*, SourceProvider*, bool usesEval, bool needsClosure, int numConstants) JSC_FAST_CALL;2215 ProgramNode(JSGlobalData*, SourceElements*, VarStack*, FunctionStack*, SourceProvider*, bool usesEval, bool needsClosure, bool usesArguments, int numConstants) JSC_FAST_CALL; 2214 2216 2215 2217 void generateCode(ScopeChainNode*) JSC_FAST_CALL; … … 2226 2228 class EvalNode : public ScopeNode { 2227 2229 public: 2228 static EvalNode* create(JSGlobalData*, SourceElements*, VarStack*, FunctionStack*, SourceProvider*, bool usesEval, bool needsClosure, int numConstants) JSC_FAST_CALL;2230 static EvalNode* create(JSGlobalData*, SourceElements*, VarStack*, FunctionStack*, SourceProvider*, bool usesEval, bool needsClosure, bool usesArguments, int numConstants) JSC_FAST_CALL; 2229 2231 2230 2232 EvalCodeBlock& byteCode(ScopeChainNode* scopeChain) JSC_FAST_CALL … … 2236 2238 2237 2239 private: 2238 EvalNode(JSGlobalData*, SourceElements*, VarStack*, FunctionStack*, SourceProvider*, bool usesEval, bool needsClosure, int numConstants) JSC_FAST_CALL;2240 EvalNode(JSGlobalData*, SourceElements*, VarStack*, FunctionStack*, SourceProvider*, bool usesEval, bool needsClosure, bool usesArguments, int numConstants) JSC_FAST_CALL; 2239 2241 2240 2242 void generateCode(ScopeChainNode*) JSC_FAST_CALL; … … 2248 2250 class FunctionBodyNode : public ScopeNode { 2249 2251 public: 2250 static FunctionBodyNode* create(JSGlobalData*, SourceElements*, VarStack*, FunctionStack*, SourceProvider*, bool usesEval, bool needsClosure, int numConstants) JSC_FAST_CALL;2251 static FunctionBodyNode* create(JSGlobalData*, SourceElements*, VarStack*, FunctionStack*, bool usesEval, bool needsClosure, int numConstants) JSC_FAST_CALL;2252 static FunctionBodyNode* create(JSGlobalData*, SourceElements*, VarStack*, FunctionStack*, SourceProvider*, bool usesEval, bool needsClosure, bool usesArguments, int numConstants) JSC_FAST_CALL; 2253 static FunctionBodyNode* create(JSGlobalData*, SourceElements*, VarStack*, FunctionStack*, bool usesEval, bool needsClosure, bool usesArguments, int numConstants) JSC_FAST_CALL; 2252 2254 2253 2255 Vector<Identifier>& parameters() JSC_FAST_CALL { return m_parameters; } … … 2292 2294 2293 2295 protected: 2294 FunctionBodyNode(JSGlobalData*, SourceElements*, VarStack*, FunctionStack*, bool usesEval, bool needsClosure, int numConstants) JSC_FAST_CALL;2296 FunctionBodyNode(JSGlobalData*, SourceElements*, VarStack*, FunctionStack*, bool usesEval, bool needsClosure, bool usesArguments, int numConstants) JSC_FAST_CALL; 2295 2297 2296 2298 private:
Note:
See TracChangeset
for help on using the changeset viewer.