summaryrefslogtreecommitdiff
path: root/src/privatefragment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/privatefragment.h')
-rw-r--r--src/privatefragment.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/privatefragment.h b/src/privatefragment.h
new file mode 100644
index 0000000..bab11bc
--- /dev/null
+++ b/src/privatefragment.h
@@ -0,0 +1,25 @@
+#ifndef _PRIVATEFRAGMENT_H
+#define _PRIVATEFRAGMENT_H
+
+#include <compfragment.h>
+
+namespace CompFragment {
+
+ class Function;
+ class Program;
+
+ class Storage {
+ public:
+ Storage ();
+ ~Storage ();
+
+ public:
+ int lastFunctionId;
+ std::vector<Function *> functions;
+ std::vector<Program *> programs;
+
+ FunctionId saturateFunction[2][64];
+ };
+};
+
+#endif