1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/bootstraptest
mame 727ceb2a95 Fix a bug of peephole optimization
```
  if   L1
L0:
  jump L2
L1:
  ...
L2:
```

was wrongly optimized to:

```
  unless L2
L0:
L1:
  ...
L2:
```

To make it conservative, this optimization is now disabled when there is
any label between `if` and `jump` instructions.
Fixes [Bug #14897].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-07-06 04:52:33 +00:00
..
pending.rb
runner.rb rethrow the caught exception as-is 2018-06-29 03:28:26 +00:00
test_attr.rb
test_autoload.rb
test_block.rb vm_insnhelper.c: break from nested rescue 2015-01-23 14:57:08 +00:00
test_class.rb vm.c: initialize defined_module_hash early 2013-10-13 11:59:27 +00:00
test_eval.rb Use Integer instead of Fixnum and Bignum. 2016-05-17 13:15:57 +00:00
test_exception.rb error.c: bypass Exception.new 2018-02-20 10:08:27 +00:00
test_finalizer.rb
test_flip.rb
test_flow.rb Fix a bug of peephole optimization 2018-07-06 04:52:33 +00:00
test_fork.rb bootstraptest/test_fork.rb: Stop too restrict NPROC test temporarily 2018-01-09 08:05:40 +00:00
test_gc.rb
test_insns.rb improve C0 coverage of insns.def 2018-06-29 04:56:07 +00:00
test_io.rb tests: increase timeouts and speedup some slow tests 2018-06-27 18:27:58 +00:00
test_jump.rb
test_literal.rb Drop to support NaCl platform. 2017-10-23 05:56:25 +00:00
test_literal_suffix.rb parse.y: parse precisely 2013-08-02 14:14:55 +00:00
test_load.rb
test_marshal.rb
test_massign.rb
test_method.rb relax error message format 2015-10-24 06:42:22 +00:00
test_objectspace.rb Use qualified names 2016-08-30 06:22:30 +00:00
test_proc.rb $SAFE as a process global state. [Feature #14250] 2017-12-28 20:09:24 +00:00
test_string.rb * string.c (str_discard): does not free for STR_NOFREE string. 2015-02-13 13:06:58 +00:00
test_struct.rb
test_syntax.rb parse.y: condition node 2015-01-29 13:22:39 +00:00
test_thread.rb Use qualified names 2016-08-30 06:22:30 +00:00