diff options
author | Mike Pall <mike> | 2013-09-08 02:53:23 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2013-09-08 02:53:23 +0200 |
commit | d1194a82eb24afa1c749a0a8080b67d168f9f201 (patch) | |
tree | fb3bebc2cbf5032a49653dd6a0bd31c420dd8083 /src/lj_jit.h | |
parent | d3d30d389b504495d054d71bdee0fe2677d4b44c (diff) | |
download | luajit-d1194a82eb24afa1c749a0a8080b67d168f9f201.tar.gz luajit-d1194a82eb24afa1c749a0a8080b67d168f9f201.tar.bz2 luajit-d1194a82eb24afa1c749a0a8080b67d168f9f201.zip |
Low-overhead profiler, part 4: JIT compiler support.
Diffstat (limited to 'src/lj_jit.h')
-rw-r--r-- | src/lj_jit.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lj_jit.h b/src/lj_jit.h index 2683b462..cfb04aa7 100644 --- a/src/lj_jit.h +++ b/src/lj_jit.h | |||
@@ -396,6 +396,12 @@ typedef struct jit_State { | |||
396 | size_t szallmcarea; /* Total size of all allocated mcode areas. */ | 396 | size_t szallmcarea; /* Total size of all allocated mcode areas. */ |
397 | 397 | ||
398 | TValue errinfo; /* Additional info element for trace errors. */ | 398 | TValue errinfo; /* Additional info element for trace errors. */ |
399 | |||
400 | #if LJ_HASPROFILE | ||
401 | GCproto *prev_pt; /* Previous prototype. */ | ||
402 | BCLine prev_line; /* Previous line. */ | ||
403 | int prof_mode; /* Profiling mode: 0, 'f', 'l'. */ | ||
404 | #endif | ||
399 | } | 405 | } |
400 | #if LJ_TARGET_ARM | 406 | #if LJ_TARGET_ARM |
401 | LJ_ALIGN(16) /* For DISPATCH-relative addresses in assembler part. */ | 407 | LJ_ALIGN(16) /* For DISPATCH-relative addresses in assembler part. */ |