## MLton 20241230+git20251029+dfsg-5

# Globalize

Globalize is an analysis pass for the SXML IntermediateLanguage, invoked from ClosureConvert.

## Description

This pass marks values that are constant, allowing ClosureConvert to move them out to the top level so they are only evaluated once and do not appear in closures.

## Implementation

- `globalize.sig`

- `globalize.fun`

## Details and Notes