diff options
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,18 @@ +Thu Feb 28 22:57:48 2013 Koichi Sasada <ko1@atdot.net> + + * compile.c (iseq_compile_each): remove redundant trace(line) + instruction. for example, at the following script + def m() + p:xyzzy + 1 + 2 + end + compiler ignores `1' because there is no effect. However, + `trace(line)' instruction remains in bytecode. + This modification removes such redundant trace(line) instruction. + + * test/ruby/test_iseq.rb: add a test. + Thu Feb 28 22:23:27 2013 Tanaka Akira <akr@fsij.org> * ext/socket/raddrinfo.c (inspect_sockaddr): don't show that Unix |