Changeset 91194 in webkit for trunk/Source/JavaScriptCore/runtime/RegExpObject.h
- Timestamp:
- Jul 18, 2011, 10:47:13 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/RegExpObject.h
r87346 r91194 28 28 29 29 class RegExpObject : public JSObjectWithGlobalObject { 30 protected: 31 RegExpObject(JSGlobalObject*, Structure*, RegExp*); 32 30 33 public: 34 static RegExpObject* create(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, RegExp* regExp) 35 { 36 return new (allocateCell<RegExpObject>(*exec->heap())) RegExpObject(globalObject, structure, regExp); 37 } 38 39 static RegExpObject* create(JSGlobalData& globalData, JSGlobalObject* globalObject, Structure* structure, RegExp* regExp) 40 { 41 return new (allocateCell<RegExpObject>(globalData.heap)) RegExpObject(globalObject, structure, regExp); 42 } 43 31 44 typedef JSObjectWithGlobalObject Base; 32 45 33 RegExpObject(JSGlobalObject*, Structure*, RegExp*);34 46 virtual ~RegExpObject(); 35 47
Note:
See TracChangeset
for help on using the changeset viewer.