Split off fast function recording to lj_ffrecord.c.

This commit is contained in:
Mike Pall
2010-12-05 17:12:34 +01:00
parent 559545eb6d
commit e7f8cc964e
7 changed files with 899 additions and 836 deletions

17
src/lj_ffrecord.h Normal file
View File

@@ -0,0 +1,17 @@
/*
** Fast function call recorder.
** Copyright (C) 2005-2010 Mike Pall. See Copyright Notice in luajit.h
*/
#ifndef _LJ_FFRECORD_H
#define _LJ_FFRECORD_H
#include "lj_obj.h"
#include "lj_jit.h"
#if LJ_HASJIT
LJ_FUNC int32_t lj_ffrecord_select_mode(jit_State *J, TRef tr, TValue *tv);
LJ_FUNC void lj_ffrecord_func(jit_State *J);
#endif
#endif