summaryrefslogtreecommitdiffstats
path: root/lib/profile.rb
Commit message (Collapse)AuthorAgeFilesLines
* * lib/debug.rb, lib/profile.rb: fix to use RubyVM.ko12008-07-081-1/+1
| | | | | | | | * lib/rdoc/parsers/parse_c.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h: added some declarations for event hooks.shugo2007-11-161-0/+4
| | | | | | | * lib/profile.rb: set VM::InstructionSequence.compile_option. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (Init_Object): should not remove Class#allocate.matz2002-12-201-63/+6
| | | | | | | | * lib/profiler.rb: separate profiling functions, without trace_func and at_exit setting. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (do_block): split "do" block and tLBRACE_ARG block.matz2002-12-201-20/+26
| | | | | | | | | | | | | | | | | * parse.y (cmd_brace_block): new tLBRACE_ARG block rule * parse.y (command): can take optional cmd_brace_block; use %prec to resolve shift/reduce conflict. (ruby-bugs-ja PR#372) * eval.c (ruby_finalize): trace_func should be cleared here (after executing exit procs and finalizers). * eval.c (rb_define_alloc_func): new allocation framework, based on Nobu's work [ruby-dev:19116]. "allocate" method is no longer used for object allocation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * profile.rb: illegal use of Array#sort!. replaced it with non-bangnahi2002-11-141-1/+2
| | | | | | | method. [ruby-dev:18792] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_seek_m): wrong calling sequence of rb_io_seek().matz2001-03-131-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * parse.y (cond0): no special treatment of string literal in condition. * math.c: add acos, asin, atan, conh, sinh, tanh and hypot to Math. * configure.in: check hypot availablility. * missing/hypot.c: public domain rewrite of hypot. * parse.y (warn_unless_e_option): warning condition was wrong. * parse.y (warning_unless_e_option): ditto. * enum.c (enum_all): new method 'all?', which returns true if block returns true for all elements. * enum.c (enum_any): new method 'any?', which returns true if block retruns true for any of elements. * marshal.c (marshal_load): do not give warning unless explicitly set to verbose. * eval.c (rb_exit): give string value "exit" to SystemExit. * ruby.c (proc_options): -v should not print version if proc_options called via moreswitches(). * parse.y (stmt): while/until modifier must work for empty body. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-07-061-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-03-17matz2000-03-171-12/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 1.4.0matz1999-08-131-0/+55
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e