* ChangeLog: fix typos of r37293.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2012-10-24

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test_rubyoptions.rb: --help option

* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_usage): now
  --help shows more lines.  [ruby-core:48072] [Bug #7184]


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Add test for instance_exec receiving a curried proc.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_eval.c (vm_call0_body): remove RUBY_VM_CHECK_INTS()
  after method invocation using rb_call0().
* vm_eval.c (vm_call0_body): remove default section on top of
  switch statement and add cases for `VM_METHOD_TYPE_CFUNC_FRAMELESS'
  and `VM_METHOD_TYPE_UNDEF'.
* vm_eval.c (vm_call0_body): remove useless brackets.



git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval_error.c (error_print), vm_eval.c (eval_string_with_cref),
  vm_trace.c (rb_suppress_tracing): use TH_PUSH_TAG() instead of
  PUSH_TAG().



git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_insnhelper.c (vm_call_method): remove `default' and
  add a case for `VM_METHOD_TYPE_UNDEF'.



git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/objspace/objspace.c (ObjectSpace.reachable_objects_from):
  internal object support.
  If given object `obj' has references to internal objects
  (such as T_NODE objects), then this method returns instances of
  `ObjectSpace::InternalObjectWrapper' instead of that internal objects.
  This instance contains a refereance to an internal object and you can
  check the type of internal object using
  `ObjectSpace::InternalObjectWrapper#type' method.
  Rdoc of `InternalObjectWrapper' is not prepared yet.
* gc.c (rb_objspace_reachable_objects_from), gc.h: change
  an interface of 'rb_objspace_reachable_objects_from()'
* gc.c, gc.h: add two APIs
  - rb_objspace_markable_object_p(obj): check markable or not.
  - rb_objspace_internal_object_p(obj): check internal or not.



git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/objspace/objspace.c (Init_objspace): add a new method
  `ObjectSpace::InternalObjectWrapper#internal_object_id' which returns
  an object id of a wrapped internal object.



git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c (garbage_collect, gc_marks): move the location of
  clear and restore rb_objspace_t::mark_func_data
  from garbage_collect() to gc_marks().



git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/objspace/objspace.c (reachable_object_from_i): change data
  structure of the result of reachable objects. Keys of table
  contains object_id of each reachable objects. Value of table
  is an object itself or an instance of InternalObjectWrapper.
  To avoid duplication, we use st_table and object_id keys.
* ext/objspace/objspace.c (type2sym): bug fix.
  Should use `i' instead of `type'.



git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c (free_object_aquire): rename to match the behavior of this
  function.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
fix the function name which is not grammatically correct.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
rename it to a more fitting name

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* benchmark/driver.rb: add `-x' or `--exclude' option
  to specify exclude benchmark name pattern.
  You can specify "-x foo" if you want to exclude the benchmarks
  if the name of benchmark contains `foo'.



git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
vm_insnhelper.c: inline

* vm_insnhelper.c: declare as inline, to match with the definitions.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
objspace.c: enum ruby_value_type

* ext/objspace/objspace.c (type2sym, count_objects_size): use enum
  instead of size_t which may be larger than actual values.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e