Skip to content

Type of caml_send in Cmm #10460

@nandor

Description

@nandor

The type of the cache argument seems to be fixed to Val in https://github.com/ocaml/ocaml/blob/trunk/asmcomp/cmm_helpers.ml#L1868, however the argument is computed as an address in the helper function generating calls to it at https://github.com/ocaml/ocaml/blob/trunk/asmcomp/cmm_helpers.ml#L787 . Shouldn't the type of the cache then be type_addr instead of type_val?

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