Changeset 38825 in webkit for trunk/JavaScriptCore/runtime/JSFunction.h
- Timestamp:
- Nov 27, 2008, 6:24:20 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSFunction.h
r38767 r38825 43 43 44 44 typedef InternalFunction Base; 45 JSFunction(PassRefPtr<JSC::Structure> st) : InternalFunction(st), m_scopeChain(NoScopeChain()) {} 45 46 JSFunction(PassRefPtr<Structure> structure) 47 : InternalFunction(structure) 48 , m_scopeChain(NoScopeChain()) 49 { 50 } 51 46 52 public: 47 53 JSFunction(ExecState*, const Identifier&, FunctionBodyNode*, ScopeChainNode*); … … 58 64 ScopeChain& scope() { return m_scopeChain; } 59 65 66 FunctionBodyNode* body() const { return m_body.get(); } 67 60 68 virtual void mark(); 61 69 62 70 static const ClassInfo info; 63 64 // FIXME: This should be private65 RefPtr<FunctionBodyNode> m_body;66 71 67 72 static PassRefPtr<Structure> createStructure(JSValue* prototype) … … 80 85 static JSValue* lengthGetter(ExecState*, const Identifier&, const PropertySlot&); 81 86 87 RefPtr<FunctionBodyNode> m_body; 82 88 ScopeChain m_scopeChain; 83 89 };
Note:
See TracChangeset
for help on using the changeset viewer.