microvium
Version:
A compact, embeddable scripting engine for microcontrollers for executing small scripts written in a subset of JavaScript.
11 lines (10 loc) • 363 B
TypeScript
import { SnapshotIL } from "../lib";
export interface NormalizeILOpts {
cullUnreachableBlocks?: boolean;
cullUnreachableInstructions?: boolean;
inlineUnnecessaryJumps?: boolean;
}
/**
* Normalize IL for the purposes of comparison during testing
*/
export declare function normalizeIL(unit: SnapshotIL, opts?: NormalizeILOpts): SnapshotIL;