зеркало из https://github.com/github/ruby.git
* common.mk, *.ci: renamed to *.c.
* eval_laod.c: renamed to load.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
c9923aeb69
Коммит
c334a09f7a
|
@ -1,3 +1,9 @@
|
||||||
|
Thu Dec 20 18:17:14 2007 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* common.mk, *.ci: renamed to *.c.
|
||||||
|
|
||||||
|
* eval_laod.c: renamed to load.c.
|
||||||
|
|
||||||
Thu Dec 20 17:36:01 2007 Eric Hodel <drbrain@segment7.net>
|
Thu Dec 20 17:36:01 2007 Eric Hodel <drbrain@segment7.net>
|
||||||
|
|
||||||
* lib/rubygems*: Import RubyGems 1.0.0, r1575.
|
* lib/rubygems*: Import RubyGems 1.0.0, r1575.
|
||||||
|
|
12
common.mk
12
common.mk
|
@ -28,7 +28,7 @@ COMMONOBJS = array.$(OBJEXT) \
|
||||||
enumerator.$(OBJEXT) \
|
enumerator.$(OBJEXT) \
|
||||||
error.$(OBJEXT) \
|
error.$(OBJEXT) \
|
||||||
eval.$(OBJEXT) \
|
eval.$(OBJEXT) \
|
||||||
eval_load.$(OBJEXT) \
|
load.$(OBJEXT) \
|
||||||
proc.$(OBJEXT) \
|
proc.$(OBJEXT) \
|
||||||
file.$(OBJEXT) \
|
file.$(OBJEXT) \
|
||||||
gc.$(OBJEXT) \
|
gc.$(OBJEXT) \
|
||||||
|
@ -427,14 +427,14 @@ error.$(OBJEXT): {$(VPATH)}error.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
||||||
{$(VPATH)}st.h {$(VPATH)}vm_opts.h {$(VPATH)}signal.h \
|
{$(VPATH)}st.h {$(VPATH)}vm_opts.h {$(VPATH)}signal.h \
|
||||||
{$(VPATH)}vm_core.h {$(VPATH)}id.h {$(VPATH)}node.h {$(VPATH)}debug.h \
|
{$(VPATH)}vm_core.h {$(VPATH)}id.h {$(VPATH)}node.h {$(VPATH)}debug.h \
|
||||||
{$(VPATH)}thread_$(THREAD_MODEL).h
|
{$(VPATH)}thread_$(THREAD_MODEL).h
|
||||||
eval.$(OBJEXT): {$(VPATH)}eval.c {$(VPATH)}eval_error.ci {$(VPATH)}eval_intern.h \
|
eval.$(OBJEXT): {$(VPATH)}eval.c {$(VPATH)}eval_error.c {$(VPATH)}eval_intern.h \
|
||||||
{$(VPATH)}eval_method.ci {$(VPATH)}eval_safe.ci {$(VPATH)}eval_jump.ci \
|
{$(VPATH)}eval_method.c {$(VPATH)}eval_safe.c {$(VPATH)}eval_jump.c \
|
||||||
{$(VPATH)}ruby.h {$(VPATH)}config.h {$(VPATH)}vm_core.h {$(VPATH)}id.h \
|
{$(VPATH)}ruby.h {$(VPATH)}config.h {$(VPATH)}vm_core.h {$(VPATH)}id.h \
|
||||||
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
||||||
{$(VPATH)}node.h {$(VPATH)}util.h {$(VPATH)}signal.h \
|
{$(VPATH)}node.h {$(VPATH)}util.h {$(VPATH)}signal.h \
|
||||||
{$(VPATH)}st.h {$(VPATH)}dln.h {$(VPATH)}debug.h \
|
{$(VPATH)}st.h {$(VPATH)}dln.h {$(VPATH)}debug.h \
|
||||||
{$(VPATH)}vm_opts.h {$(VPATH)}thread_$(THREAD_MODEL).h
|
{$(VPATH)}vm_opts.h {$(VPATH)}thread_$(THREAD_MODEL).h
|
||||||
eval_load.$(OBJEXT): {$(VPATH)}eval_load.c {$(VPATH)}eval_intern.h \
|
load.$(OBJEXT): {$(VPATH)}load.c {$(VPATH)}eval_intern.h \
|
||||||
{$(VPATH)}ruby.h {$(VPATH)}config.h \
|
{$(VPATH)}ruby.h {$(VPATH)}config.h \
|
||||||
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
||||||
{$(VPATH)}node.h {$(VPATH)}util.h {$(VPATH)}vm_core.h {$(VPATH)}id.h \
|
{$(VPATH)}node.h {$(VPATH)}util.h {$(VPATH)}vm_core.h {$(VPATH)}id.h \
|
||||||
|
@ -540,7 +540,7 @@ struct.$(OBJEXT): {$(VPATH)}struct.c {$(VPATH)}ruby.h {$(VPATH)}config.h \
|
||||||
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h
|
||||||
thread.$(OBJEXT): {$(VPATH)}thread.c {$(VPATH)}eval_intern.h \
|
thread.$(OBJEXT): {$(VPATH)}thread.c {$(VPATH)}eval_intern.h \
|
||||||
{$(VPATH)}thread_win32.h {$(VPATH)}thread_pthread.h \
|
{$(VPATH)}thread_win32.h {$(VPATH)}thread_pthread.h \
|
||||||
{$(VPATH)}thread_win32.ci {$(VPATH)}thread_pthread.ci \
|
{$(VPATH)}thread_win32.c {$(VPATH)}thread_pthread.c \
|
||||||
{$(VPATH)}ruby.h {$(VPATH)}vm_core.h {$(VPATH)}id.h {$(VPATH)}config.h \
|
{$(VPATH)}ruby.h {$(VPATH)}vm_core.h {$(VPATH)}id.h {$(VPATH)}config.h \
|
||||||
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
|
||||||
{$(VPATH)}node.h {$(VPATH)}util.h \
|
{$(VPATH)}node.h {$(VPATH)}util.h \
|
||||||
|
@ -581,7 +581,7 @@ iseq.$(OBJEXT): {$(VPATH)}iseq.c {$(VPATH)}vm_core.h {$(VPATH)}id.h {$(VPATH)}de
|
||||||
vm.$(OBJEXT): {$(VPATH)}vm.c {$(VPATH)}vm.h {$(VPATH)}vm_core.h {$(VPATH)}id.h \
|
vm.$(OBJEXT): {$(VPATH)}vm.c {$(VPATH)}vm.h {$(VPATH)}vm_core.h {$(VPATH)}id.h \
|
||||||
{$(VPATH)}debug.h {$(VPATH)}ruby.h {$(VPATH)}config.h {$(VPATH)}st.h \
|
{$(VPATH)}debug.h {$(VPATH)}ruby.h {$(VPATH)}config.h {$(VPATH)}st.h \
|
||||||
{$(VPATH)}node.h {$(VPATH)}util.h {$(VPATH)}signal.h {$(VPATH)}dln.h \
|
{$(VPATH)}node.h {$(VPATH)}util.h {$(VPATH)}signal.h {$(VPATH)}dln.h \
|
||||||
{$(VPATH)}insnhelper.h {$(VPATH)}insnhelper.ci {$(VPATH)}vm_evalbody.ci \
|
{$(VPATH)}insnhelper.h {$(VPATH)}vm_insnhelper.c {$(VPATH)}vm_evalbody.c \
|
||||||
{$(VPATH)}insns.inc {$(VPATH)}vm.inc {$(VPATH)}vmtc.inc \
|
{$(VPATH)}insns.inc {$(VPATH)}vm.inc {$(VPATH)}vmtc.inc \
|
||||||
{$(VPATH)}vm_opts.h {$(VPATH)}eval_intern.h \
|
{$(VPATH)}vm_opts.h {$(VPATH)}eval_intern.h \
|
||||||
{$(VPATH)}defines.h {$(VPATH)}missing.h {$(VPATH)}intern.h \
|
{$(VPATH)}defines.h {$(VPATH)}missing.h {$(VPATH)}intern.h \
|
||||||
|
|
8
eval.c
8
eval.c
|
@ -38,10 +38,10 @@ static VALUE eval(VALUE, VALUE, VALUE, const char *, int);
|
||||||
static inline VALUE rb_yield_0(int argc, VALUE *argv);
|
static inline VALUE rb_yield_0(int argc, VALUE *argv);
|
||||||
static VALUE rb_call(VALUE, VALUE, ID, int, const VALUE *, int);
|
static VALUE rb_call(VALUE, VALUE, ID, int, const VALUE *, int);
|
||||||
|
|
||||||
#include "eval_error.ci"
|
#include "eval_error.c"
|
||||||
#include "eval_method.ci"
|
#include "eval_method.c"
|
||||||
#include "eval_safe.ci"
|
#include "eval_safe.c"
|
||||||
#include "eval_jump.ci"
|
#include "eval_jump.c"
|
||||||
|
|
||||||
/* initialize ruby */
|
/* initialize ruby */
|
||||||
|
|
||||||
|
|
4
thread.c
4
thread.c
|
@ -147,7 +147,7 @@ NOINLINE(static int thread_start_func_2(rb_thread_t *th, VALUE *stack_start,
|
||||||
VALUE *register_stack_start));
|
VALUE *register_stack_start));
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
#include "thread_win32.ci"
|
#include "thread_win32.c"
|
||||||
|
|
||||||
#define DEBUG_OUT() \
|
#define DEBUG_OUT() \
|
||||||
WaitForSingleObject(&debug_mutex, INFINITE); \
|
WaitForSingleObject(&debug_mutex, INFINITE); \
|
||||||
|
@ -156,7 +156,7 @@ NOINLINE(static int thread_start_func_2(rb_thread_t *th, VALUE *stack_start,
|
||||||
ReleaseMutex(&debug_mutex);
|
ReleaseMutex(&debug_mutex);
|
||||||
|
|
||||||
#elif defined(HAVE_PTHREAD_H)
|
#elif defined(HAVE_PTHREAD_H)
|
||||||
#include "thread_pthread.ci"
|
#include "thread_pthread.c"
|
||||||
|
|
||||||
#define DEBUG_OUT() \
|
#define DEBUG_OUT() \
|
||||||
pthread_mutex_lock(&debug_mutex); \
|
pthread_mutex_lock(&debug_mutex); \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* -*-c-*- */
|
/* -*-c-*- */
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
||||||
thread_pthread.ci -
|
thread_pthread.c -
|
||||||
|
|
||||||
$Author$
|
$Author$
|
||||||
$Date$
|
$Date$
|
|
@ -1,7 +1,7 @@
|
||||||
/* -*-c-*- */
|
/* -*-c-*- */
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
||||||
thread_win32.ci -
|
thread_win32.c -
|
||||||
|
|
||||||
$Author$
|
$Author$
|
||||||
$Date$
|
$Date$
|
4
vm.c
4
vm.c
|
@ -16,7 +16,7 @@
|
||||||
#include "gc.h"
|
#include "gc.h"
|
||||||
|
|
||||||
#include "insnhelper.h"
|
#include "insnhelper.h"
|
||||||
#include "insnhelper.ci"
|
#include "vm_insnhelper.c"
|
||||||
|
|
||||||
#define BUFSIZE 0x100
|
#define BUFSIZE 0x100
|
||||||
#define PROCDEBUG 0
|
#define PROCDEBUG 0
|
||||||
|
@ -1026,7 +1026,7 @@ vm_init_redefined_flag(void)
|
||||||
|
|
||||||
/* evaluator body */
|
/* evaluator body */
|
||||||
|
|
||||||
#include "vm_evalbody.ci"
|
#include "vm_evalbody.c"
|
||||||
|
|
||||||
/* finish
|
/* finish
|
||||||
VMe (h1) finish
|
VMe (h1) finish
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* -*-c-*- */
|
/* -*-c-*- */
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
||||||
vm_evalbody.ci -
|
vm_evalbody.c -
|
||||||
|
|
||||||
$Author$
|
$Author$
|
||||||
$Date$
|
$Date$
|
|
@ -1,7 +1,6 @@
|
||||||
/* -*-c-*- */
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
||||||
insnhelper.ci - instruction helper functions.
|
insnhelper.c - instruction helper functions.
|
||||||
|
|
||||||
$Author$
|
$Author$
|
||||||
$Date$
|
$Date$
|
Загрузка…
Ссылка в новой задаче