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
test_class.rb
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
test_load.rb
test_marshal.rb
test_massign.rb
test_method.rb
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
test_struct.rb
test_syntax.rb
test_thread.rb Use qualified names 2016-08-30 06:22:30 +00:00