Fix the lookup process on the new jit
This commit is contained in:
parent
86a6b985e4
commit
3da6d2d1fc
|
@ -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) {
|
||||
|
|
|
@ -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){};
|
||||
|
||||
|
|
Loading…
Reference in New Issue