8000 inline very small builtin functions · Issue #45 · capy-language/capy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
inline very small builtin functions #45
Open
@lenawanel

Description

@lenawanel

Problem

cranelift pretty much never inlines functions, so currently capy will generate function calls for even noop functions like a ptr to usize bitcast.

Proposed Solution

if builtins are called, only emit call instructions if they have a substantial amount of actual code to execute.

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0