CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/09/26 11:09:47
Modified files: . : ChangeLog server/vm : ActionExec.cpp Log message: * server/vm/ActionExec.cpp (call operator): initialize maxBranchCount once at start of function. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4420&r2=1.4421 http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/ActionExec.cpp?cvsroot=gnash&r1=1.47&r2=1.48 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.4420 retrieving revision 1.4421 diff -u -b -r1.4420 -r1.4421 --- ChangeLog 26 Sep 2007 10:53:47 -0000 1.4420 +++ ChangeLog 26 Sep 2007 11:09:46 -0000 1.4421 @@ -1,3 +1,8 @@ +2007-09-26 Sandro Santilli <[EMAIL PROTECTED]> + + * server/vm/ActionExec.cpp (call operator): initialize maxBranchCount + once at start of function. + 2007-09-26 Benjamin Wolsey <[EMAIL PROTECTED]> * gui/gtk.cpp: More moving menu items about. Index: server/vm/ActionExec.cpp =================================================================== RCS file: /sources/gnash/gnash/server/vm/ActionExec.cpp,v retrieving revision 1.47 retrieving revision 1.48 diff -u -b -r1.47 -r1.48 --- server/vm/ActionExec.cpp 25 Sep 2007 16:03:25 -0000 1.47 +++ server/vm/ActionExec.cpp 26 Sep 2007 11:09:47 -0000 1.48 @@ -17,7 +17,7 @@ // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // -/* $Id: ActionExec.cpp,v 1.47 2007/09/25 16:03:25 cmusick Exp $ */ +/* $Id: ActionExec.cpp,v 1.48 2007/09/26 11:09:47 strk Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -174,6 +174,9 @@ ); #endif + // TODO: specify in the .gnashrc !! + static const size_t maxBranchCount = 65536; // what's enough ? + size_t branchCount = 0; try { while (1) // We might not stop at stop_pc, if we are trying. @@ -368,8 +371,6 @@ // if ( pc <= oldPc ) { - // TODO: specify in the .gnashrc ? - size_t maxBranchCount = 65536; // what's enough ? if ( ++branchCount > maxBranchCount ) { char buf[256]; _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit