Changeset 64655 in webkit for trunk/JavaScriptCore/runtime/JSGlobalObject.cpp
- Timestamp:
- Aug 4, 2010, 10:18:07 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSGlobalObject.cpp
r63882 r64655 81 81 static const int preferredScriptCheckTimeInterval = 1000; 82 82 83 static inline void markIfNeeded(MarkStack& markStack, JSValuev)83 template<typename T> static inline void markIfNeeded(MarkStack& markStack, T*& v) 84 84 { 85 85 if (v) … … 87 87 } 88 88 89 static inline void markIfNeeded(MarkStack& markStack, constRefPtr<Structure>& s)89 static inline void markIfNeeded(MarkStack& markStack, RefPtr<Structure>& s) 90 90 { 91 91 if (s) 92 mark IfNeeded(markStack,s->storedPrototype());92 markStack.append(s->storedPrototype()); 93 93 } 94 94
Note:
See TracChangeset
for help on using the changeset viewer.