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