Skip to content

Use ThrowHelper instead of inline exception throwing #2237

@YohDeadfall

Description

@YohDeadfall

The idea of the proposed change is to:

  1. Make code generated methods smaller because the JIT emits jump to throw methods and doesn't inline them. The description of the trick can be found here.
  2. Prevent duplication of exception messages.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions