Goose  Diff

Differences From Artifact [de1233391a]:

  • File bs/builtins/types/runtime/pointer.cpp — part of check-in [0c646816e4] at 2023-02-20 17:54:25 on branch trunk — Migrated to clang16/llvm16. Created a shitty layer on top of llvm to cope with losing the pointee types from llvm pointer types (which are now opaques). It was a huge pain in the ass. (user: zlodo size: 2941)

To Artifact [dbe50ff423]:

  • File bs/builtins/types/runtime/pointer.cpp — part of check-in [99c630bf0a] at 2024-04-09 22:55:56 on branch cir-ssa-refactor — Here we go again. Life is pain. Life is suffering (user: zlodo size: 2996)

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 )
    {