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
3886
+
3887
+
3872
3888
// TODO(Jacob): Fill out each of the values here with our paper annotations from the burst
3873
3889
// TODO(Jacob): Eventually, this should not use any wildcard and should match for every single HIR instruction
3874
3890
_ => EscapeType::NoEscape,
3875
3891
}
3876
3892
}
3877
3893
3894
+
// 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)
3895
+
// fn replace() {
3896
+
3897
+
// }
3898
+
3878
3899
// TODO(Jacob): We probably need a function to do rewriting of escapable allocations here. TBD
3879
3900
3901
+
// TODO(Jacob): Find a way to make different tests run just a single pass
3902
+
// TODO(Jacob): Make a clear note about potentially altering tracepoint semantics
3880
3903
// 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