зеркало из https://github.com/github/ruby.git
* compile.c (rb_iseq_translate_threaded_code): removed duplicated code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
aa4f1d8e81
Коммит
9cce6d1071
|
@ -512,11 +512,7 @@ rb_iseq_translate_threaded_code(rb_iseq_t *iseq)
|
||||||
{
|
{
|
||||||
#if OPT_DIRECT_THREADED_CODE || OPT_CALL_THREADED_CODE
|
#if OPT_DIRECT_THREADED_CODE || OPT_CALL_THREADED_CODE
|
||||||
extern const void **rb_vm_get_insns_address_table(void);
|
extern const void **rb_vm_get_insns_address_table(void);
|
||||||
#if OPT_DIRECT_THREADED_CODE
|
|
||||||
const void * const *table = rb_vm_get_insns_address_table();
|
const void * const *table = rb_vm_get_insns_address_table();
|
||||||
#else
|
|
||||||
const void * const *table = rb_vm_get_insns_address_table();
|
|
||||||
#endif
|
|
||||||
unsigned long i;
|
unsigned long i;
|
||||||
|
|
||||||
iseq->iseq_encoded = ALLOC_N(VALUE, iseq->iseq_size);
|
iseq->iseq_encoded = ALLOC_N(VALUE, iseq->iseq_size);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#define RUBY_VERSION "1.9.3"
|
#define RUBY_VERSION "1.9.3"
|
||||||
#define RUBY_RELEASE_DATE "2010-07-26"
|
#define RUBY_RELEASE_DATE "2010-07-27"
|
||||||
#define RUBY_PATCHLEVEL -1
|
#define RUBY_PATCHLEVEL -1
|
||||||
#define RUBY_BRANCH_NAME "trunk"
|
#define RUBY_BRANCH_NAME "trunk"
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
#define RUBY_VERSION_TEENY 1
|
#define RUBY_VERSION_TEENY 1
|
||||||
#define RUBY_RELEASE_YEAR 2010
|
#define RUBY_RELEASE_YEAR 2010
|
||||||
#define RUBY_RELEASE_MONTH 7
|
#define RUBY_RELEASE_MONTH 7
|
||||||
#define RUBY_RELEASE_DAY 26
|
#define RUBY_RELEASE_DAY 27
|
||||||
|
|
||||||
#include "ruby/version.h"
|
#include "ruby/version.h"
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче