edits
[satune.git] / src / ASTAnalyses / Encoding / encodinggraph.h
index 5fe6d2ad023ee53c93ffc98f289dd88dbaaffa1c..0c94c3892be692822f885d3f554f2d625414a15c 100644 (file)
@@ -26,6 +26,7 @@ class EncodingGraph {
        void processFunction(ElementFunction *f);
        void processPredicate(BooleanPredicate *b);
        EncodingNode * createNode(Element *e);
+       EncodingNode * getNode(Element *e);
        EncodingEdge * getEdge(EncodingNode *left, EncodingNode *right, EncodingNode *dst);
 };
 
@@ -36,7 +37,7 @@ class EncodingNode {
        uint getSize() const;
        VarType getType() const;
        void setEncoding(ElementEncodingType e) {encoding=e;}
-       
+       ElementEncodingType getEncoding() {return encoding;}
        CMEMALLOC;
  private:
        Set *s;