2010-12-07 17:11:18 -08:00
|
|
|
/*
|
|
|
|
** Trace recorder for C data operations.
|
2011-01-09 08:12:53 -08:00
|
|
|
** Copyright (C) 2005-2011 Mike Pall. See Copyright Notice in luajit.h
|
2010-12-07 17:11:18 -08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _LJ_CRECORD_H
|
|
|
|
#define _LJ_CRECORD_H
|
|
|
|
|
|
|
|
#include "lj_obj.h"
|
|
|
|
#include "lj_jit.h"
|
|
|
|
#include "lj_ffrecord.h"
|
|
|
|
|
|
|
|
#if LJ_HASJIT && LJ_HASFFI
|
|
|
|
LJ_FUNC void LJ_FASTCALL recff_cdata_index(jit_State *J, RecordFFData *rd);
|
2010-12-22 14:21:38 -08:00
|
|
|
LJ_FUNC void LJ_FASTCALL recff_cdata_call(jit_State *J, RecordFFData *rd);
|
2011-01-02 16:30:58 -08:00
|
|
|
LJ_FUNC void LJ_FASTCALL recff_cdata_arith(jit_State *J, RecordFFData *rd);
|
2011-02-05 05:16:16 -08:00
|
|
|
LJ_FUNC void LJ_FASTCALL recff_clib_index(jit_State *J, RecordFFData *rd);
|
2010-12-22 14:21:38 -08:00
|
|
|
LJ_FUNC void LJ_FASTCALL recff_ffi_new(jit_State *J, RecordFFData *rd);
|
2011-02-04 16:05:56 -08:00
|
|
|
LJ_FUNC void LJ_FASTCALL recff_ffi_string(jit_State *J, RecordFFData *rd);
|
2011-01-02 09:30:02 -08:00
|
|
|
LJ_FUNC void LJ_FASTCALL lj_crecord_tonumber(jit_State *J, RecordFFData *rd);
|
2010-12-07 17:11:18 -08:00
|
|
|
#else
|
|
|
|
#define recff_cdata_index recff_nyi
|
2010-12-22 14:21:38 -08:00
|
|
|
#define recff_cdata_call recff_nyi
|
2011-01-12 17:35:29 -08:00
|
|
|
#define recff_cdata_arith recff_nyi
|
2011-02-05 05:16:16 -08:00
|
|
|
#define recff_clib_index recff_nyi
|
2010-12-22 14:21:38 -08:00
|
|
|
#define recff_ffi_new recff_nyi
|
2011-02-04 16:05:56 -08:00
|
|
|
#define recff_ffi_string recff_nyi
|
2010-12-07 17:11:18 -08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|