Skip to content

[Question][Hw7] Questions about hw7 #46

@h2oche

Description

@h2oche

Hello, I have some questions about homework 7.

  • Is id number important in grading? When I run ./typechecker test/example1.ll, all results seems to be same with test/example1.expected except for id numbers (ex: ID XX). For that reason, when I run a test script, it fails. I guess it depends on how we add constraints to solver, and it may vary.
  • Is a function pointer type not a scope of homework 7? When I tried to give a type to %fp = alloca void (i32)*, align 8, it throws an exception(with message "unsupported type") in type_of_lltype.

Thanks!

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