зеркало из https://github.com/github/ruby.git
* common.mk: targets which depend on yarvcore.h now depend on
rubysig.h too. * yarvcore.h (rb_vm_t): use rb_atomic_t instead of int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
6ccbfd76a1
Коммит
d274cf524a
|
@ -1,3 +1,10 @@
|
||||||
|
Sat Feb 10 17:46:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* common.mk: targets which depend on yarvcore.h now depend on
|
||||||
|
rubysig.h too.
|
||||||
|
|
||||||
|
* yarvcore.h (rb_vm_t): use rb_atomic_t instead of int.
|
||||||
|
|
||||||
Sat Feb 10 00:13:11 2007 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
Sat Feb 10 00:13:11 2007 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||||
|
|
||||||
* ext/tk/lib/tk.rb: fix typo (TkConfigMethod::__confinfo_cmd,
|
* ext/tk/lib/tk.rb: fix typo (TkConfigMethod::__confinfo_cmd,
|
||||||
|
|
10
common.mk
10
common.mk
|
@ -506,12 +506,12 @@ version.$(OBJEXT): {$(VPATH)}version.c {$(VPATH)}ruby.h config.h \
|
||||||
compile.$(OBJEXT): {$(VPATH)}compile.c {$(VPATH)}yarvcore.h \
|
compile.$(OBJEXT): {$(VPATH)}compile.c {$(VPATH)}yarvcore.h \
|
||||||
{$(VPATH)}compile.h {$(VPATH)}debug.h {$(VPATH)}ruby.h config.h \
|
{$(VPATH)}compile.h {$(VPATH)}debug.h {$(VPATH)}ruby.h config.h \
|
||||||
{$(VPATH)}defines.h {$(VPATH)}missing.h {$(VPATH)}intern.h \
|
{$(VPATH)}defines.h {$(VPATH)}missing.h {$(VPATH)}intern.h \
|
||||||
{$(VPATH)}st.h {$(VPATH)}node.h \
|
{$(VPATH)}st.h {$(VPATH)}node.h {$(VPATH)}rubysig.h \
|
||||||
{$(VPATH)}insns.inc {$(VPATH)}insns_info.inc {$(VPATH)}optinsn.inc \
|
{$(VPATH)}insns.inc {$(VPATH)}insns_info.inc {$(VPATH)}optinsn.inc \
|
||||||
{$(VPATH)}opt_sc.inc {$(VPATH)}optunifs.inc {$(VPATH)}vm_opts.h
|
{$(VPATH)}opt_sc.inc {$(VPATH)}optunifs.inc {$(VPATH)}vm_opts.h
|
||||||
iseq.$(OBJEXT): {$(VPATH)}iseq.c {$(VPATH)}yarvcore.h {$(VPATH)}debug.h \
|
iseq.$(OBJEXT): {$(VPATH)}iseq.c {$(VPATH)}yarvcore.h {$(VPATH)}debug.h \
|
||||||
{$(VPATH)}ruby.h {$(VPATH)}defines.h {$(VPATH)}missing.h \
|
{$(VPATH)}ruby.h {$(VPATH)}defines.h {$(VPATH)}missing.h \
|
||||||
{$(VPATH)}intern.h {$(VPATH)}st.h \
|
{$(VPATH)}intern.h {$(VPATH)}st.h {$(VPATH)}rubysig.h \
|
||||||
{$(VPATH)}gc.h {$(VPATH)}vm_opts.h \
|
{$(VPATH)}gc.h {$(VPATH)}vm_opts.h \
|
||||||
{$(VPATH)}insns.inc {$(VPATH)}insns_info.inc
|
{$(VPATH)}insns.inc {$(VPATH)}insns_info.inc
|
||||||
vm.$(OBJEXT): {$(VPATH)}vm.c {$(VPATH)}vm.h {$(VPATH)}insnhelper.h \
|
vm.$(OBJEXT): {$(VPATH)}vm.c {$(VPATH)}vm.h {$(VPATH)}insnhelper.h \
|
||||||
|
@ -524,17 +524,17 @@ vm.$(OBJEXT): {$(VPATH)}vm.c {$(VPATH)}vm.h {$(VPATH)}insnhelper.h \
|
||||||
vm_dump.$(OBJEXT): {$(VPATH)}yarvcore.h {$(VPATH)}vm.h config.h \
|
vm_dump.$(OBJEXT): {$(VPATH)}yarvcore.h {$(VPATH)}vm.h config.h \
|
||||||
{$(VPATH)}ruby.h {$(VPATH)}defines.h {$(VPATH)}missing.h \
|
{$(VPATH)}ruby.h {$(VPATH)}defines.h {$(VPATH)}missing.h \
|
||||||
{$(VPATH)}intern.h {$(VPATH)}st.h {$(VPATH)}node.h {$(VPATH)}debug.h \
|
{$(VPATH)}intern.h {$(VPATH)}st.h {$(VPATH)}node.h {$(VPATH)}debug.h \
|
||||||
{$(VPATH)}version.h {$(VPATH)}vm_opts.h
|
{$(VPATH)}rubysig.h {$(VPATH)}version.h {$(VPATH)}vm_opts.h
|
||||||
yarvcore.$(OBJEXT): {$(VPATH)}yarvcore.c {$(VPATH)}yarvcore.h \
|
yarvcore.$(OBJEXT): {$(VPATH)}yarvcore.c {$(VPATH)}yarvcore.h \
|
||||||
{$(VPATH)}debug.h {$(VPATH)}ruby.h config.h {$(VPATH)}defines.h \
|
{$(VPATH)}debug.h {$(VPATH)}ruby.h config.h {$(VPATH)}defines.h \
|
||||||
{$(VPATH)}missing.h {$(VPATH)}intern.h {$(VPATH)}st.h \
|
{$(VPATH)}missing.h {$(VPATH)}intern.h {$(VPATH)}st.h \
|
||||||
{$(VPATH)}node.h {$(VPATH)}gc.h {$(VPATH)}vm_opts.h
|
{$(VPATH)}rubysig.h {$(VPATH)}node.h {$(VPATH)}gc.h {$(VPATH)}vm_opts.h
|
||||||
debug.$(OBJEXT): {$(VPATH)}debug.h {$(VPATH)}ruby.h {$(VPATH)}defines.h \
|
debug.$(OBJEXT): {$(VPATH)}debug.h {$(VPATH)}ruby.h {$(VPATH)}defines.h \
|
||||||
{$(VPATH)}missing.h {$(VPATH)}intern.h {$(VPATH)}st.h config.h \
|
{$(VPATH)}missing.h {$(VPATH)}intern.h {$(VPATH)}st.h config.h \
|
||||||
{$(VPATH)}st.h
|
{$(VPATH)}st.h
|
||||||
blockinlining.$(OBJEXT): {$(VPATH)}ruby.h {$(VPATH)}defines.h \
|
blockinlining.$(OBJEXT): {$(VPATH)}ruby.h {$(VPATH)}defines.h \
|
||||||
{$(VPATH)}missing.h {$(VPATH)}intern.h {$(VPATH)}st.h config.h \
|
{$(VPATH)}missing.h {$(VPATH)}intern.h {$(VPATH)}st.h config.h \
|
||||||
{$(VPATH)}node.h {$(VPATH)}yarvcore.h \
|
{$(VPATH)}node.h {$(VPATH)}yarvcore.h {$(VPATH)}rubysig.h \
|
||||||
{$(VPATH)}debug.h {$(VPATH)}vm_opts.h
|
{$(VPATH)}debug.h {$(VPATH)}vm_opts.h
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
|
|
||||||
#include "ruby.h"
|
#include "ruby.h"
|
||||||
|
#include "rubysig.h"
|
||||||
#include "st.h"
|
#include "st.h"
|
||||||
#include "node.h"
|
#include "node.h"
|
||||||
|
|
||||||
|
@ -326,8 +327,8 @@ typedef struct rb_vm_struct {
|
||||||
/* object management */
|
/* object management */
|
||||||
VALUE mark_object_ary;
|
VALUE mark_object_ary;
|
||||||
|
|
||||||
int signal_buff[RUBY_NSIG];
|
rb_atomic_t signal_buff[RUBY_NSIG];
|
||||||
int bufferd_signal_size;
|
rb_atomic_t bufferd_signal_size;
|
||||||
} rb_vm_t;
|
} rb_vm_t;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче