#include "thread.h"
#endif
+#ifdef D___Object______nativehashCode____
int CALL01(___Object______nativehashCode____, struct ___Object___ * ___this___) {
return (int)((INTPTR) VAR(___this___));
}
+#endif
+
+#ifdef D___Object______hashCode____
+int CALL01(___Object______hashCode____, struct ___Object___ * ___this___) {
+ if (!VAR(___this___)->___cachedHash___) {
+ VAR(___this___)->___cachedHash___=1;
+ VAR(___this___)->___cachedCode___=(int)((INTPTR)VAR(___this___));
+ }
+ return VAR(___this___)->___cachedCode___;
+}
+#endif
int CALL01(___Object______getType____, struct ___Object___ * ___this___) {
return ((int *)VAR(___this___))[0];
#define OBJECT_H
#include "runtime.h"
#include "structdefs.h"
-
-int CALL01(___Object______nativehashCode____, struct ___Object___ * ___this___); int CALL01(___Object______getType____, struct ___Object___ * ___this___);
+#include "methodheaders.h"
+#ifdef D___Object______nativehashCode____
+int CALL01(___Object______nativehashCode____, struct ___Object___ * ___this___);
+#endif
+#ifdef D___Object______hashCode____
+int CALL01(___Object______hashCode____, struct ___Object___ * ___this___);
+#endif
+int CALL01(___Object______getType____, struct ___Object___ * ___this___);
#ifdef THREADS
int CALL01(___Object______MonitorEnter____, struct ___Object___ * ___this___);
int CALL01(___Object______MonitorExit____, struct ___Object___ * ___this___);