You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// We need some example that has MethodEscape or GlobalEscape for an initial test
3764
+
3765
+
3750
3766
// TODO(Jacob): Fill out each of the values here with our paper annotations from the burst
3751
3767
// TODO(Jacob): Eventually, this should not use any wildcard and should match for every single HIR instruction
3752
3768
_ => EscapeType::NoEscape,
3753
3769
}
3754
3770
}
3755
3771
3772
+
// TODO(Jacob): handle the paper's x = p.f case. something like load / store or arrayload or attribute accessors can be scalar replaced (if the escape type is NoEscape)
3773
+
// fn replace() {
3774
+
3775
+
// }
3776
+
3756
3777
// TODO(Jacob): We probably need a function to do rewriting of escapable allocations here. TBD
3757
3778
3779
+
// TODO(Jacob): Find a way to make different tests run just a single pass
3780
+
// TODO(Jacob): Make a clear note about potentially altering tracepoint semantics
3758
3781
// TODO(Jacob): Make some escape analysis tests. Ask someone else to make sure the examples I'm using are correct for ruby and matter
0 commit comments