dillon1000/react

Commit

[hir] Validate globals are equal before propagating

Make sure the value of the globals in phi operands are the same before constant 
propagating them.
Browse files
Changed paths3 files
First-parent comparison
M compiler/forget/packages/babel-plugin-react-forget/src/Optimization/ConstantPropagation.ts ModifiedA compiler/forget/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/constant-propagate-global-phis-constant.expect.md AddedA compiler/forget/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/constant-propagate-global-phis-constant.js Added
Patch

Files changed

Rendering syntax-highlighted changes…