projects
/
repair.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Checking in changes that:
[repair.git]
/
Repair
/
RepairCompiler
/
MCC
/
Runtime
/
size.h
diff --git
a/Repair/RepairCompiler/MCC/Runtime/size.h
b/Repair/RepairCompiler/MCC/Runtime/size.h
index 5b11610a3ff01c0f34e183863989d85c4d208588..986c8d04d828ffa30237ba9c3f5428e7587605f7 100755
(executable)
--- a/
Repair/RepairCompiler/MCC/Runtime/size.h
+++ b/
Repair/RepairCompiler/MCC/Runtime/size.h
@@
-1,4
+1,7
@@
-struct foo_state {int l;};
+#include "specs/x86/cache_aux.h"
+class typeobject {
+public:
+typeobject();
int getfield(int type, int fieldindex);
int isArray(int type, int fieldindex);
int isPtr(int type, int fieldindex);
int getfield(int type, int fieldindex);
int isArray(int type, int fieldindex);
int isPtr(int type, int fieldindex);
@@
-7,4
+10,5
@@
int size(int type);
int sizeBytes(int type);
int getnumfields(int type);
bool issubtype(int subtype, int type);
int sizeBytes(int type);
int getnumfields(int type);
bool issubtype(int subtype, int type);
-void computesizes(struct foo_state *);
+void computesizes(foo_state *);
+};