Skip to content

Implement Memory Region Controls (#heap, #stack) #4

@theQuarky

Description

@theQuarky

#heap and #stack qualifiers are parsed but ignored in codegen.

Requirements:

  • Handle ast::StorageQualifier::Heap in visit(ast::VarDecl)
  • Generate malloc/gc_malloc for heap variables instead of alloca

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions