mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
9c708baa2d
to yarvcore.h. * iseq.c: fix symbol name (:toplevel -> :top). * lib/vm/instruction.rb, template/vm.inc.tmpl: replacable current file name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
28 lines
574 B
C
28 lines
574 B
C
/* -*-c-*- *********************************************************/
|
|
/*******************************************************************/
|
|
/*******************************************************************/
|
|
/**
|
|
This file is VM main loop.
|
|
|
|
----
|
|
This file is auto generated by insns2vm.rb
|
|
DO NOT TOUCH!
|
|
|
|
If you want to fix something, you must edit 'insns.c'
|
|
*/
|
|
|
|
<%=
|
|
line = 15
|
|
vm_body.gsub(/\n|__CURRENT_LINE__|__CURRENT_FILE__/){|e|
|
|
case e
|
|
when '__CURRENT_LINE__'
|
|
line.to_s
|
|
when '__CURRENT_FILE__'
|
|
"vm.inc"
|
|
else
|
|
line += 1
|
|
e
|
|
end
|
|
}
|
|
%>
|
|
|