24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
+
-
+
|
return ToValue( PointerType( ValueToIRExpr( pointedType ) ) );
} );
}
llvm::Type* GetLLVMType( const PointerType& p )
{
// DISABLE_CODEGEN
return llvm::PointerType::getUnqual( GetLLVMType( *ValueFromIRExpr( p.m_pointedType ) ) );
return nullptr; //llvm::PointerType::getUnqual( GetLLVMType( *ValueFromIRExpr( p.m_pointedType ) ) );
}
}
namespace goose::ir
{
Value Bridge< PointerType >::ToValue( const PointerType& p )
{
|