Changeset 34086 in webkit for trunk/JavaScriptCore/kjs/object.cpp
- Timestamp:
- May 23, 2008, 12:12:31 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/object.cpp
r34085 r34086 92 92 } 93 93 #endif 94 JSValue* ret = callAsFunction(exec,thisObj,args); 95 94 CallData data; 95 JSValue *ret; 96 if (this->getCallData(data) == CallTypeJS) { 97 // A native function will enter the VM, which will allow the profiler 98 // to detect entry 99 ret = callAsFunction(exec,thisObj,args); 100 } else { 101 Profiler** profiler = Profiler::enabledProfilerReference(); 102 if (*profiler) 103 (*profiler)->willExecute(exec, this); 104 105 ret = callAsFunction(exec,thisObj,args); 106 107 if (*profiler) 108 (*profiler)->didExecute(exec, this); 109 } 96 110 #if KJS_MAX_STACK > 0 97 111 --depth;
Note:
See TracChangeset
for help on using the changeset viewer.