Changeset 34696 in webkit for trunk/JavaScriptCore/VM/Machine.cpp
- Timestamp:
- Jun 20, 2008, 12:36:10 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/Machine.cpp
r34684 r34696 672 672 registerFileStack->popGlobalRegisterFile(); 673 673 674 if (*profiler) 674 if (*profiler) { 675 675 (*profiler)->didExecute(exec, programNode->sourceURL(), programNode->lineNo()); 676 if (!m_reentryDepth) 677 (*profiler)->didFinishAllExecution(exec); 678 } 676 679 677 680 return result; … … 730 733 JSValue* result = privateExecute(Normal, &newExec, registerFile, r, scopeChain, newCodeBlock, exception); 731 734 m_reentryDepth--; 735 736 if (*profiler && !m_reentryDepth) 737 (*profiler)->didFinishAllExecution(exec); 732 738 733 739 registerFile->shrink(oldSize); … … 796 802 registerFile->shrink(oldSize); 797 803 798 if (*profiler) 804 if (*profiler) { 799 805 (*profiler)->didExecute(exec, evalNode->sourceURL(), evalNode->lineNo()); 806 if (!m_reentryDepth) 807 (*profiler)->didFinishAllExecution(exec); 808 } 800 809 801 810 return result;
Note:
See TracChangeset
for help on using the changeset viewer.