1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* vm_insnhelper.h (COPY_CREF_OMOD): fix translation miss.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2015-03-08 21:01:31 +00:00
parent 720efd6947
commit 2324c14d00
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Mon Mar 9 06:00:37 2015 Koichi Sasada <ko1@atdot.net>
* vm_insnhelper.h (COPY_CREF_OMOD): fix translation miss.
Mon Mar 9 04:47:58 2015 Koichi Sasada <ko1@atdot.net> Mon Mar 9 04:47:58 2015 Koichi Sasada <ko1@atdot.net>
* internal.h: define CREF accessor macros. * internal.h: define CREF accessor macros.

View file

@ -147,7 +147,7 @@ enum vm_regan_acttype {
#define COPY_CREF_OMOD(c1, c2) do { \ #define COPY_CREF_OMOD(c1, c2) do { \
RB_OBJ_WRITE((c1), &CREF_REFINEMENTS(c1), CREF_REFINEMENTS(c2)); \ RB_OBJ_WRITE((c1), &CREF_REFINEMENTS(c1), CREF_REFINEMENTS(c2)); \
if (!CREF_REFINEMENTS(c2)) { \ if (!NIL_P(CREF_REFINEMENTS(c2))) { \
CREF_OMOD_SHARED_SET(c1); \ CREF_OMOD_SHARED_SET(c1); \
CREF_OMOD_SHARED_SET(c2); \ CREF_OMOD_SHARED_SET(c2); \
} \ } \