Minor code cleanup

This commit is contained in:
Vinoth Veeraraghavan
2020-11-17 18:08:41 +08:00
parent 4bc4af0126
commit 424d8dc855
3 changed files with 4 additions and 11 deletions

View File

@ -64,8 +64,6 @@
// for checking if LLVM_ENABLE_DUMP is defined and for using LLVM_VERSION_STRING
#include "llvm/Config/llvm-config.h"
extern bool GlobalCodeGenEnvironmentSuccess;
namespace JitExec {
/** @struct Holds instructions that evaluate in runtime to begin and end iterators of a cursor. */
struct JitLlvmRuntimeCursor {

View File

@ -66,4 +66,4 @@ extern int JitExecTvmQuery(JitContext* jitContext, ParamListInfo params, TupleTa
uint64_t* tuplesProcessed, int* scanEnded, int newScan);
} // namespace JitExec
#endif // JIT_TVM_EXEC_H
#endif /* JIT_TVM_QUERY_CODEGEN_H */

View File

@ -44,14 +44,9 @@
namespace JitExec {
// uncomment this to debug JIT execution
//#define MOT_JIT_DEBUG
// 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
// To debug JIT execution, #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
/** @enum JitCommandType Command types supported by jitted queries. */
enum JitCommandType : uint8_t {