Imported Upstream version 5.10.0.47

Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-01-24 17:04:36 +00:00
parent 88ff76fe28
commit e46a49ecf1
5927 changed files with 226314 additions and 129848 deletions

View File

@@ -44,6 +44,10 @@ namespace Mono.Tuner {
get { return context.Annotations; }
}
internal Tracer Tracer {
get { return context.Tracer; }
}
public abstract SubStepTargets Targets { get; }
public virtual void Initialize (LinkContext context)
@@ -184,10 +188,10 @@ namespace Mono.Tuner {
foreach (var substep in on_assemblies) {
var bs = substep as BaseSubStep;
if (bs != null)
bs.Annotations.Push (substep);
bs.Tracer.Push (substep);
substep.ProcessAssembly (assembly);
if (bs != null)
bs.Annotations.Pop ();
bs.Tracer.Pop ();
}
}
@@ -196,10 +200,10 @@ namespace Mono.Tuner {
foreach (var substep in on_types) {
var bs = substep as BaseSubStep;
if (bs != null)
bs.Annotations.Push (substep);
bs.Tracer.Push (substep);
substep.ProcessType (type);
if (bs != null)
bs.Annotations.Pop ();
bs.Tracer.Pop ();
}
}