зеркало из https://github.com/github/ruby.git
ruby/internal/config.h needs to be included first
to define USE_MJIT.
This commit is contained in:
Родитель
0a2b987696
Коммит
2700df3c9d
3
mjit.c
3
mjit.c
|
@ -11,9 +11,10 @@
|
|||
|
||||
// To share variables privately, include mjit_worker.c instead of linking.
|
||||
|
||||
#include "ruby/internal/config.h" // defines USE_MJIT
|
||||
|
||||
#if USE_MJIT
|
||||
|
||||
#include "ruby/internal/config.h"
|
||||
#include "constant.h"
|
||||
#include "id_table.h"
|
||||
#include "internal.h"
|
||||
|
|
2
mjit.h
2
mjit.h
|
@ -8,7 +8,7 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#include "ruby/internal/config.h"
|
||||
#include "ruby/internal/config.h" // defines USE_MJIT
|
||||
#include "ruby/internal/stdbool.h"
|
||||
#include "vm_core.h"
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
// call Ruby methods (C functions that may call rb_funcall) or trigger
|
||||
// GC (using ZALLOC, xmalloc, xfree, etc.) in this file.
|
||||
|
||||
#include "ruby/internal/config.h"
|
||||
#include "ruby/internal/config.h" // defines USE_MJIT
|
||||
|
||||
#if USE_MJIT
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче