Skip to content

Re-implement exception handler inlining in the new optimizer #60

Open
@lrytz

Description

@lrytz

The old optimizer inlined exception handlers if a throw throws an exception that is caught in the same method. According to @VladUreche, this is mainly to support two use-cases:

  • breakable { ...; break; ... }
  • return statements

https://github.com/scala/scala/blob/2.11.x/src/compiler/scala/tools/nsc/backend/opt/InlineExceptionHandlers.scala

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions