Changeset 47405 in webkit for trunk/JavaScriptCore/runtime
- Timestamp:
- Aug 17, 2009, 6:05:37 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Executable.h
r47330 r47405 57 57 }; 58 58 59 class EvalExecutable : public TemplateExecutable<EvalNode, EvalCodeBlock> , public RefCounted<EvalExecutable>{59 class EvalExecutable : public TemplateExecutable<EvalNode, EvalCodeBlock> { 60 60 public: 61 61 EvalExecutable(const SourceCode& source) … … 65 65 66 66 JSObject* parse(ExecState* exec, bool allowDebug = true); 67 }; 68 69 class CacheableEvalExecutable : public EvalExecutable, public RefCounted<CacheableEvalExecutable> { 70 public: 71 static PassRefPtr<CacheableEvalExecutable> create(const SourceCode& source) { return adoptRef(new CacheableEvalExecutable(source)); } 72 73 private: 74 CacheableEvalExecutable(const SourceCode& source) 75 : EvalExecutable(source) 76 { 77 } 67 78 }; 68 79
Note:
See TracChangeset
for help on using the changeset viewer.