Skip to content

[mono][aot] Use compile restart to emit a placeholder method body #92688

@jandupej

Description

@jandupej

#91261 needs to emit a stand-in method body that only contains one throw in certain cases. This is currently done explicitly (method-to-ir.c: method_make_alwaysthrow_typeloadfailure), but after discussion with @vargaz a different approach might be more advantageous. Try and use compilation restart to emit that dummy method body.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions