ko1
1bebb22ce1
* insns.def: add new instruction opt_empty_p' for optimize
empty?'
...
method. Apply a patch proposed at [ruby-dev:46120]
[ruby-trunk - Feature #6972 ] by Glass_saga (Masaki Matsushita).
* compile.c (iseq_specialized_instruction), vm.c, vm_insnhelper.h:
ditto.
* id.c, template/id.h.tmpl: ditto.
* test/ruby/test_optimization.rb: test for this changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-26 09:34:46 +00:00
nobu
470c941ce5
id.h: independent from parse.h
...
* template/id.h.tmpl, tool/id2token.rb: make id.h independent from
parse.h, and make parse.c dependent on it instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-31 05:31:20 +00:00
nobu
bcbc1f722c
generic_erb.rb: --vpath option
...
* tool/generic_erb.rb (vpath.open): move --vpath option from
template/id.h.tmpl.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-25 07:20:29 +00:00
nobu
f7c2791c60
id.h.tmpl: preserved ids
...
* template/id.h.tmpl (preserved_ids): move from parse.y.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-17 08:35:12 +00:00
nobu
200cea6326
id.h.tmpl: joke method names
...
* template/id.h.tmpl (method_ids): create also joke method names
non-separatedly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-17 08:35:08 +00:00
nobu
42dc1e5ef8
* id.c: move vm_opts.h dependency.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-17 04:12:12 +00:00
nobu
48f9f0bda9
method_ids
...
* template/id.h.tmpl (method_ids): define at once predefined method IDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-14 01:35:06 +00:00
akr
de4c25a001
* template/id.h.tmpl: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-26 13:45:42 +00:00
kazu
e8c539a7e3
* template/id.h.tmpl: suppress all warning: "SUPPORT_JOKE" is not
...
defined. [ruby-dev:42730]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-12 11:49:32 +00:00
nobu
a18a4811a0
* template/id.h.tmpl (ruby_method_ids): suppress warnings.
...
[ruby-dev:42730]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 11:05:52 +00:00
nobu
d31350f827
* id.c (Init_id): add underscore name.
...
* parse.y (warn_unused_var): ignore underscore name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-20 07:17:46 +00:00
ko1
55cfc1e409
* template/id.h.tmpl: fix this.
...
* id.h: removed. Because this file is generated automatically.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-06 08:50:19 +00:00
nobu
1b4d0c76de
* template/id.h.tmpl, id.h (enum ruby_method_ids): added some IDs.
...
* debug.c (dummy_gdb_enums): added enum ruby_method_ids.
* .gdbinit (rp): improved output of Symbol.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-21 13:17:54 +00:00
nobu
b8db90f35a
* template/id.h.tmpl, id.h (ruby_method_ids_check): enclosed in a
...
struct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-24 20:53:06 +00:00
nobu
934525776f
* template/id.h.tmpl, id.h (ruby_method_ids): not depend on if
...
token are defined as macros. [ruby-dev:37553]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-24 20:05:12 +00:00
nobu
13aaff3e9f
* id.h, template/id.h.tmpl (ruby_method_ids): sees YYTOKENTYPE too.
...
[ruby-dev:37436]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-15 06:13:24 +00:00
nobu
001d393019
* id.h, include/ruby/{intern,oniguruma}.h, regenc.h, regparse.h,
...
template/*.tmpl: removed trailing garbage spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-09 07:14:13 +00:00
nobu
3093546f1f
* id.h, template/id.h.tmpl (enum ruby_method_ids): reordered.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 12:50:35 +00:00
nobu
de85d6e92e
* common.mk (srcs): removed ID_H_TARGET.
...
* tool/generic_erb.rb: always overwrites if no if-change option.
* template/id.h.tmpl: shows which token differs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-19 12:12:53 +00:00
nobu
26b3c7a0f3
* id.h: reverted.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 11:56:11 +00:00
nobu
b025ce4678
* common.mk (ID_H_TARGET): phony target to update id.h.
...
* tool/ifchange, win32/ifchange.bat: --timestamp option added.
* tool/generic_erb.rb: --timestamp, --output and --if-change options
added.
* template/id.h.tmpl: moved from id.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 10:46:23 +00:00