Skip to content

Add mechanism to instruct VM's global analysis pass to try to const evaluate certain parts of a program before global analysis runs. #50473

Open
@mkustermann

Description

@mkustermann

We can make our global analysis pass on the kernel recognize @pramga('vm:try-evaluate-as-constant') and try to constant evaluate it while a) supporting a subset of language b) recognizing the dart:io platform getters as constant.

Metadata

Metadata

Assignees

Labels

P3A lower priority bug or feature requestarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions