fix openjdk-src build (oversight from type-generator refactor)

This commit is contained in:
Joshua Warner 2014-07-15 08:07:57 -06:00
parent cf835b8cc7
commit bfddef54c6
3 changed files with 310 additions and 258 deletions

View File

@ -2437,16 +2437,16 @@ object findFieldInClass(Thread* t,
GcByteArray* name,
GcByteArray* spec);
inline object findFieldInClass2(Thread* t,
GcClass* class_,
const char* name,
const char* spec)
inline GcField* findFieldInClass2(Thread* t,
GcClass* class_,
const char* name,
const char* spec)
{
PROTECT(t, class_);
GcByteArray* n = makeByteArray(t, "%s", name);
PROTECT(t, n);
GcByteArray* s = makeByteArray(t, "%s", spec);
return findFieldInClass(t, class_, n, s);
return cast<GcField>(t, findFieldInClass(t, class_, n, s));
}
object findMethodInClass(Thread* t,

View File

@ -90,7 +90,7 @@ void listAppend(Thread* t, GcList* list, object value);
GcVector* vectorAppend(Thread* t, GcVector* vector, object value);
object growArray(Thread* t, object array);
GcArray* growArray(Thread* t, GcArray* array);
object treeQuery(Thread* t,
GcTreeNode* tree,

File diff suppressed because it is too large Load Diff