Changeset 36863 in webkit for trunk/JavaScriptCore/API/JSBase.cpp
- Timestamp:
- Sep 24, 2008, 1:38:55 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSBase.cpp
r36263 r36863 26 26 #include "config.h" 27 27 #include "JSBase.h" 28 #include "JSBasePrivate.h" 28 29 29 30 #include "APICast.h" … … 103 104 // the collector is busy. 104 105 } 106 107 void JSReportExtraMemoryCost(JSContextRef ctx, size_t size) 108 { 109 ExecState* exec = toJS(ctx); 110 exec->globalData().heap->registerThread(); 111 JSLock lock(exec); 112 113 exec->globalData().heap->reportExtraMemoryCost(size); 114 }
Note:
See TracChangeset
for help on using the changeset viewer.