derick Sun, 07 Nov 2010 05:02:37 +0000
Revision: http://svn.xdebug.org/cgi-bin/viewvc.cgi?view=rev&revision=3368&root=xdebug
Log:
- Fixed the optimisation by also allocating on demand the previous profilre information frame.
Changed paths:
U xdebug/trunk/xdebug_profiler.c
Modified: xdebug/trunk/xdebug_profiler.c
===================================================================
--- xdebug/trunk/xdebug_profiler.c 2010-11-03 22:26:02 UTC (rev 3367)
+++ xdebug/trunk/xdebug_profiler.c 2010-11-07 05:02:37 UTC (rev 3368)
@@ -132,6 +132,9 @@
char *tmp_fname, *tmp_name;
int default_lineno = 0;
+ if (fse->prev && !fse->prev->profile.call_list) {
+ fse->prev->profile.call_list = xdebug_llist_alloc(xdebug_profile_call_entry_dtor);
+ }
if (!fse->profile.call_list) {
fse->profile.call_list = xdebug_llist_alloc(xdebug_profile_call_entry_dtor);
}
Received on Sun Nov 07 2010 - 05:02:37 GMT
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST