Skip to content

Commit

Permalink
Removed polyanalysis from subtranslators.
Browse files Browse the repository at this point in the history
  • Loading branch information
azreika committed Nov 12, 2020
1 parent 85ab839 commit f858421
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions src/ast2ram/ConstraintTranslator.h
Expand Up @@ -15,7 +15,6 @@
#pragma once

#include "ast/utility/Visitor.h"
#include "ast2ram/AstToRamTranslator.h"
#include "souffle/utility/ContainerUtil.h"

namespace souffle::ast {
Expand All @@ -29,10 +28,6 @@ namespace souffle::ram {
class Condition;
}

namespace souffle::ast::analysis {
class PolymorphicObjectsAnalysis;
}

namespace souffle::ast2ram {

class ValueIndex;
Expand All @@ -55,8 +50,6 @@ class ConstraintTranslator : public ast::Visitor<Own<ram::Condition>> {
private:
AstToRamTranslator& translator;
const ValueIndex& index;
const ast::analysis::PolymorphicObjectsAnalysis* polyAnalysis =
translator.getPolymorphicObjectsAnalysis();
};

} // namespace souffle::ast2ram
7 changes: 0 additions & 7 deletions src/ast2ram/ValueTranslator.h
Expand Up @@ -15,7 +15,6 @@
#pragma once

#include "ast/utility/Visitor.h"
#include "ast2ram/AstToRamTranslator.h"

namespace souffle {
class SymbolTable;
Expand All @@ -35,10 +34,6 @@ class UserDefinedFunctor;
class Variable;
} // namespace souffle::ast

namespace souffle::ast::analysis {
class PolymorphicObjectsAnalysis;
}

namespace souffle::ram {
class Expression;
}
Expand Down Expand Up @@ -74,8 +69,6 @@ class ValueTranslator : public ast::Visitor<Own<ram::Expression>> {
AstToRamTranslator& translator;
const ValueIndex& index;
SymbolTable& symTab;
const ast::analysis::PolymorphicObjectsAnalysis* polyAnalysis =
translator.getPolymorphicObjectsAnalysis();
};

} // namespace souffle::ast2ram

0 comments on commit f858421

Please sign in to comment.