... | ... |
@@ -3098,7 +3098,7 @@ extern unsigned cli_numapicalls; |
3098 | 3098 |
static void cli_bytetype_helper(const struct cli_bc *bc, unsigned tid) |
3099 | 3099 |
{ |
3100 | 3100 |
unsigned i, j; |
3101 |
- const struct cli_bc_type *ty = &bc->types[i]; |
|
3101 |
+ const struct cli_bc_type *ty; |
|
3102 | 3102 |
|
3103 | 3103 |
|
3104 | 3104 |
if (tid & 0x8000) { |
... | ... |
@@ -3113,6 +3113,8 @@ static void cli_bytetype_helper(const struct cli_bc *bc, unsigned tid) |
3113 | 3113 |
|
3114 | 3114 |
i = tid - 65; |
3115 | 3115 |
|
3116 |
+ ty = &bc->types[i]; |
|
3117 |
+ |
|
3116 | 3118 |
switch (ty->kind) { |
3117 | 3119 |
case DFunctionType: |
3118 | 3120 |
cli_bytetype_helper(bc, ty->containedTypes[0]); |