Minor code cleanup
This commit is contained in:
@ -64,8 +64,6 @@
|
|||||||
// for checking if LLVM_ENABLE_DUMP is defined and for using LLVM_VERSION_STRING
|
// for checking if LLVM_ENABLE_DUMP is defined and for using LLVM_VERSION_STRING
|
||||||
#include "llvm/Config/llvm-config.h"
|
#include "llvm/Config/llvm-config.h"
|
||||||
|
|
||||||
extern bool GlobalCodeGenEnvironmentSuccess;
|
|
||||||
|
|
||||||
namespace JitExec {
|
namespace JitExec {
|
||||||
/** @struct Holds instructions that evaluate in runtime to begin and end iterators of a cursor. */
|
/** @struct Holds instructions that evaluate in runtime to begin and end iterators of a cursor. */
|
||||||
struct JitLlvmRuntimeCursor {
|
struct JitLlvmRuntimeCursor {
|
||||||
|
@ -66,4 +66,4 @@ extern int JitExecTvmQuery(JitContext* jitContext, ParamListInfo params, TupleTa
|
|||||||
uint64_t* tuplesProcessed, int* scanEnded, int newScan);
|
uint64_t* tuplesProcessed, int* scanEnded, int newScan);
|
||||||
} // namespace JitExec
|
} // namespace JitExec
|
||||||
|
|
||||||
#endif // JIT_TVM_EXEC_H
|
#endif /* JIT_TVM_QUERY_CODEGEN_H */
|
||||||
|
@ -44,14 +44,9 @@
|
|||||||
|
|
||||||
namespace JitExec {
|
namespace JitExec {
|
||||||
|
|
||||||
// uncomment this to debug JIT execution
|
// To debug JIT execution, #define MOT_JIT_DEBUG
|
||||||
//#define MOT_JIT_DEBUG
|
// To use advanced WHERE clause operators, #define MOT_JIT_ADVANCED_WHERE_OP
|
||||||
|
// To enable features required for JIT testing, #define MOT_JIT_TEST
|
||||||
// uncomment this to use advanced WHERE clause operators
|
|
||||||
//#define MOT_JIT_ADVANCED_WHERE_OP
|
|
||||||
|
|
||||||
// uncomment to enable features required for JIT testing
|
|
||||||
//#define MOT_JIT_TEST
|
|
||||||
|
|
||||||
/** @enum JitCommandType Command types supported by jitted queries. */
|
/** @enum JitCommandType Command types supported by jitted queries. */
|
||||||
enum JitCommandType : uint8_t {
|
enum JitCommandType : uint8_t {
|
||||||
|
Reference in New Issue
Block a user