23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
return ToValue( PointerType( ValueToEIR( pointedType ) ) );
} );
}
const codegen::Type* GetCodegenType( const PointerType& p )
{
return codegen::PointerType::Get( GetCodegenType( *EIRToValue( p.m_pointedType ) ) );
}
}
namespace goose::eir
{
Value Bridge< PointerType >::ToValue( const PointerType& p )
{
|
>
|
>
|
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
return ToValue( PointerType( ValueToEIR( pointedType ) ) );
} );
}
const codegen::Type* GetCodegenType( const PointerType& p )
{
// TODO_SSA reenable
//return codegen::PointerType::Get( GetCodegenType( *EIRToValue( p.m_pointedType ) ) );
return nullptr;
}
}
namespace goose::eir
{
Value Bridge< PointerType >::ToValue( const PointerType& p )
{
|