mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Tweak include order in yjit_core.c
This is playing it safe. Ruby headers rely on some macros generated by autoconf that affect what system headers behave. We should take care to bring in those configs before including systme headers to stay consistent with the rest of Ruby.
This commit is contained in:
parent
5d834bcf9f
commit
f4c04a9595
1 changed files with 5 additions and 2 deletions
|
@ -1,10 +1,13 @@
|
||||||
|
#include "ruby/ruby.h"
|
||||||
|
#include "internal.h"
|
||||||
|
#include "vm_sync.h"
|
||||||
|
#include "builtin.h"
|
||||||
|
|
||||||
#include "yjit_asm.h"
|
#include "yjit_asm.h"
|
||||||
#include "yjit_utils.h"
|
#include "yjit_utils.h"
|
||||||
#include "yjit_iface.h"
|
#include "yjit_iface.h"
|
||||||
#include "yjit_core.h"
|
#include "yjit_core.h"
|
||||||
#include "yjit_codegen.h"
|
#include "yjit_codegen.h"
|
||||||
#include "vm_sync.h"
|
|
||||||
#include "builtin.h"
|
|
||||||
|
|
||||||
// Maximum number of versions per block
|
// Maximum number of versions per block
|
||||||
#define MAX_VERSIONS 4
|
#define MAX_VERSIONS 4
|
||||||
|
|
Loading…
Add table
Reference in a new issue