This commit is contained in:
Jesper Wilhelmsson 2014-12-04 10:40:19 +01:00
commit 9b430f2262
106 changed files with 652 additions and 415 deletions

View file

@ -3267,10 +3267,10 @@ static int recursiveFindType(VMTypeEntry* origtypes, const char* typeName, bool
s[len-1] = '\0';
// tty->print_cr("checking \"%s\" for \"%s\"", s, typeName);
if (recursiveFindType(origtypes, s, true) == 1) {
FREE_C_HEAP_ARRAY(char, s, mtInternal);
FREE_C_HEAP_ARRAY(char, s);
return 1;
}
FREE_C_HEAP_ARRAY(char, s, mtInternal);
FREE_C_HEAP_ARRAY(char, s);
}
const char* start = NULL;
if (strstr(typeName, "GrowableArray<") == typeName) {
@ -3286,10 +3286,10 @@ static int recursiveFindType(VMTypeEntry* origtypes, const char* typeName, bool
s[len-1] = '\0';
// tty->print_cr("checking \"%s\" for \"%s\"", s, typeName);
if (recursiveFindType(origtypes, s, true) == 1) {
FREE_C_HEAP_ARRAY(char, s, mtInternal);
FREE_C_HEAP_ARRAY(char, s);
return 1;
}
FREE_C_HEAP_ARRAY(char, s, mtInternal);
FREE_C_HEAP_ARRAY(char, s);
}
if (strstr(typeName, "const ") == typeName) {
const char * s = typeName + strlen("const ");