mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-01 07:30:43 +03:00
Remove getContainedType
from getClassInfoInit
(#4146)
This commit is contained in:
parent
011fb4a479
commit
6badf8ee68
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ LLConstant *IrClass::getClassInfoInit() {
|
|||
}
|
||||
|
||||
// build the initializer
|
||||
LLType *initType = getClassInfoSymbol()->getType()->getContainedType(0);
|
||||
LLType *initType = getClassInfoSymbol()->getValueType();
|
||||
constTypeInfo = b.get_constant(isaStruct(initType));
|
||||
|
||||
return constTypeInfo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue