Changeset 77098 in webkit for trunk/Source/JavaScriptGlue/JSValueWrapper.cpp
- Timestamp:
- Jan 30, 2011, 5:13:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptGlue/JSValueWrapper.cpp
r77044 r77098 195 195 void JSValueWrapper::JSObjectMark(void *data) 196 196 { 197 JSValueWrapper* ptr = (JSValueWrapper*)data;198 if (ptr)199 {200 // This results in recursive marking but will be otherwise safe and correct.201 // We claim the array vptr is 0 because we don't have access to it here, and202 // claiming 0 is functionally harmless -- it merely means that we can't203 // devirtualise marking of arrays when recursing from this point.204 MarkStack markStack(0);205 markStack.append(ptr->fValue.get());206 markStack.drain();207 }208 197 }
Note:
See TracChangeset
for help on using the changeset viewer.