Skip to content

Use RETD for return values larger than a word. #46

@sezna

Description

@sezna

Return the result from the main function, or the public ABI functions in the case of contracts, using the return opcode.

If the value is not held in one register, i.e. if it is a reference to some stack or heap memory, do we need to copy that memory somewhere? cc @adlerjohn

Metadata

Metadata

Assignees

No one assigned

    Labels

    compilerGeneral compiler. Should eventually become more specific as the issue is triagedteam:compilerCompiler Team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions