Fix the lookup process on the new jit

This commit is contained in:
Sameer Rahmani 2021-11-12 16:20:22 +00:00
parent 86a6b985e4
commit 3da6d2d1fc
2 changed files with 6 additions and 2 deletions

View File

@ -102,6 +102,9 @@ class SereneJIT {
serene::SereneContext &ctx;
/// The name of the NS which we are in it at the moment.
std::string inNS;
static llvm::Expected<orc::ThreadSafeModule>
optimizeModule(orc::ThreadSafeModule tsm,
const orc::MaterializationResponsibility &r) {

View File

@ -79,13 +79,14 @@ private:
};
// class SereneAstLayer {
// serene::SereneContexe &ctx;
// SereneContext &ctx;
// orc::IRLayer &baseLayer;
// orc::MangleAndInterner &mangler;
// const llvm::DataLayout &dl;
// public:
// SereneAstLayer(serene::SereneContexe &ctx, orc::IRLayer &baseLayer,
// SereneAstLayer(SereneContext &ctx, orc::IRLayer &baseLayer,
// orc::MangleAndInterner &mangler, const llvm::DataLayout &dl)
// : ctx(ctx), baseLayer(baseLayer), mangler(mangler), dl(dl){};