1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/bootstraptest
ko1 ee7f8d4805 * compile.c (compile_array, compile_array_):
Divide big array (or hash) literals into several blocks and
  concatetene them.  There was a problem that a big array (hash)
  literal causes SystemStackError exception (stack overflow)
  because VM push all contents of the literal onto VM stack to
  make an array (or hash).  To solve this issue, we make several
  arrays (hashes) and concatenate them to make a big array (hash)
  object.
  ??
* compile.c (iseq_compile_each, setup_args): use modified
  compile_array.
* vm.c (m_core_hash_from_ary, m_core_hash_merge_ary,
  m_core_hash_merge_ptr): added for above change.
* id.c (Init_id), parse.y: add core method ids.
* bootstraptest/test_literal.rb: add simple tests.
* bootstraptest/test_eval.rb: remove rescue clause to catch
  SystemStackError exception.
* test/ruby/test_literal.rb: add tests to check no stack overflow.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-12 01:33:34 +00:00
..
pending.rb
runner.rb * bootstraptest/runner.rb: don't suppress SIGINT. 2011-11-12 04:37:54 +00:00
test_attr.rb
test_autoload.rb * load.c (rb_f_autoload): prevent to autoload for singleton 2011-07-10 06:32:06 +00:00
test_block.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
test_class.rb
test_eval.rb * compile.c (compile_array, compile_array_): 2012-04-12 01:33:34 +00:00
test_exception.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
test_finalizer.rb
test_flip.rb
test_flow.rb * test/ruby/test_object.rb (test_send_with_block): moved from 2012-01-02 06:25:01 +00:00
test_fork.rb * thread.c (rb_threadptr_check_signal): only wake up main thread. 2011-06-30 22:29:34 +00:00
test_gc.rb
test_io.rb
test_jump.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
test_literal.rb * compile.c (compile_array, compile_array_): 2012-04-12 01:33:34 +00:00
test_load.rb
test_marshal.rb
test_massign.rb
test_method.rb * compile.c (iseq_compile_each): fix return value of obj[a,*b]=c. 2011-06-17 10:18:39 +00:00
test_objectspace.rb * vm_core.h (typedef struct rb_vm_struct): create a new 2011-07-10 07:46:00 +00:00
test_proc.rb * vm_insnhelper.c (vm_throw): check a class frame. 2011-07-10 09:04:44 +00:00
test_struct.rb
test_syntax.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
test_thread.rb