1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
ko1 e6ad53beaa remove VM_ENV_DATA_INDEX_ENV_PROC.
* vm_core.h (VM_ENV_DATA_INDEX_ENV_PROC): ep[VM_ENV_DATA_INDEX_ENV_PROC] is
  allocated to mark a Proc which is created from iseq block.
  However, `lep[0]` keeps Proc object itself as a block handler (Proc).
  So we don't need to keep it.

* vm_core.h (VM_ENV_PROCVAL): ditto.

* vm.c (vm_make_env_each): do not need to keep blockprocval as special value.

* vm.c (vm_block_handler_escape): simply return Proc value.

* proc.c (proc_new):  we don't need to check Env because a Proc type block
  handler is a Proc object itself.
  [Bug #14782]

* test/ruby/test_proc.rb: add a test for [Bug #14782]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-05-23 06:56:08 +00:00
..
-ext- test_wait_for_single_fd.rb: remove with_pipe helper 2018-05-14 23:51:39 +00:00
base64
benchmark
bigdecimal
cgi Revert "ext/cgi/escape: preserve String subclass in result" 2018-05-03 01:24:09 +00:00
coverage
csv Merge csv-1.0.2 from upstream. 2018-05-09 04:39:16 +00:00
date test/date/test_date_base.rb: removed 2018-04-17 08:18:56 +00:00
dbm
digest
drb
dtrace
erb Rename test classes to allow stable test count when running test-all -j 2018-03-13 06:29:02 +00:00
etc
excludes
fiddle fiddle/test_import.rb: fix warnings by rubygems 2018-04-19 23:46:55 +00:00
fileutils Retry to merge fileutils-1.1.0. 2018-05-15 05:53:18 +00:00
gdbm Use assert(false) for the path that is expected unreachable 2018-04-17 08:18:57 +00:00
io test_io_wait_uncommon: new test for uncommon file types 2018-05-15 00:08:33 +00:00
irb irb.rb: update _ 2018-05-12 09:13:45 +00:00
json
lib test_open3.rb: let test_popen2 work with --jit 2018-04-28 09:22:07 +00:00
logger Remove unused variables 2018-03-17 06:41:35 +00:00
matrix
minitest
misc
mkmf a C source code must end with EOL 2018-02-17 10:04:22 +00:00
monitor
net net/imap: Fix ArgumentError in send_string_data 2018-05-11 12:39:23 +00:00
nkf
objspace
open-uri
openssl openssl: merge changes in v2.1.1 2018-05-12 07:33:53 +00:00
optparse optparse: Suppress warnings 2018-05-06 09:53:33 +00:00
ostruct
pathname
psych Merge Pysch 3.0.3.pre1. 2018-04-28 01:47:58 +00:00
rdoc Merge rdoc-6.0.4 from upstream. 2018-05-08 02:07:53 +00:00
readline
resolv use the reference as failure messages 2018-03-06 05:59:29 +00:00
rexml rexml: disable XPath 1.0 compatible "#{ELEMENT_NAME}" processing by default 2018-04-28 01:36:18 +00:00
rinda
ripper test/ripper/test_lexer.rb: add test for r62743 2018-03-13 13:03:12 +00:00
rss rss: Add option Hash support to RSS::Parser.parse 2018-05-12 09:06:00 +00:00
ruby remove VM_ENV_DATA_INDEX_ENV_PROC. 2018-05-23 06:56:08 +00:00
rubygems Merge RubyGems 2.7.7 2018-05-18 01:39:13 +00:00
scanf
sdbm
shell
socket unixsocket.c: check NUL bytes 2018-03-28 10:08:57 +00:00
stringio
strscan
syslog
testunit test_parallel.rb: extend timeout for --jit-wait 2018-04-28 08:41:19 +00:00
thread test/thread/test_cv.rb: test CV usability inside forked child 2018-04-30 23:53:55 +00:00
uri http_proxy setting should respect both parent domain and subdomain 2018-05-17 07:40:01 +00:00
webrick io.c: workaround for EPROTOTYPE 2018-04-30 02:17:03 +00:00
win32ole Rename test classes to allow stable test count when running test-all -j 2018-03-13 06:29:02 +00:00
yaml
zlib test/zlib/test_zlib.rb (test_path): enable the accidentally-disabled assertion 2018-04-17 06:38:08 +00:00
colors
runner.rb
test_abbrev.rb
test_cmath.rb
test_delegate.rb
test_extlibs.rb
test_find.rb
test_forwardable.rb
test_ipaddr.rb
test_mutex_m.rb
test_observer.rb
test_open3.rb test_open3.rb: let test_popen2 work with --jit 2018-04-28 09:22:07 +00:00
test_pp.rb
test_prettyprint.rb
test_prime.rb
test_pstore.rb
test_pty.rb
test_rbconfig.rb
test_securerandom.rb
test_set.rb Add a new #filter alias for #select 2018-02-25 13:52:07 +00:00
test_shellwords.rb
test_singleton.rb
test_syslog.rb
test_tempfile.rb * test/test_tempfile.rb (test_{new,create}_traversal_dir): should not assume t 2018-04-04 15:44:56 +00:00
test_time.rb
test_timeout.rb
test_tmpdir.rb Ignore file separator from tmpfile/tmpdir name. 2018-03-28 10:03:03 +00:00
test_tracer.rb
test_tsort.rb
test_unicode_normalize.rb
test_weakref.rb
test_win32api.rb