dillon1000/react

Commit

[ssa] Update lvalue based on whether it has a memberPath or not

The semantics of lvalue changes based on whether lvalue.place.memberPath is null 
or not. If it's null, then lvalue.place acts as the lvalue for the instruction, 
otherwise it's just a reference to the memberPath specified location. 

Ideally we'd have an MemberExpression IR that lowers this complex lvalue into a 
temporary Place, uses this temporary place and stores back to the 
MemberExpression. 

Working around for now, will refactor to create a MemberExpression in the future 
if necessary for other analysis.
Browse files
Changed paths2 files
First-parent comparison
M compiler/forget/src/HIR/SSAify.ts ModifiedM compiler/forget/src/__tests__/fixtures/hir/ssa-property.expect.md Modified
Patch

Files changed

Rendering syntax-highlighted changes…