debug names for temporary traces added

This commit is contained in:
Svetlana Isakova
2012-10-21 14:07:26 +04:00
parent 6c1d3aa813
commit b395d33ff0
22 changed files with 103 additions and 55 deletions
@@ -203,7 +203,7 @@ public final class PsiCodegenPredictor {
) {
final Ref<DeclarationDescriptor> resultingDescriptor = Ref.create();
DelegatingBindingTrace trace = new DelegatingBindingTrace(context) {
DelegatingBindingTrace trace = new DelegatingBindingTrace(context, "trace in PsiCodegenPredictor") {
@Override
public <K, V> void record(WritableSlice<K, V> slice, K key, V value) {
super.record(slice, key, value);
@@ -91,7 +91,7 @@ public class GenerationState {
this.files = files;
this.classBuilderMode = builderFactory.getClassBuilderMode();
bindingTrace = new DelegatingBindingTrace(exhaust.getBindingContext());
bindingTrace = new DelegatingBindingTrace(exhaust.getBindingContext(), "trace in GenerationState");
bindingContext = bindingTrace.getBindingContext();
this.typeMapper = new JetTypeMapper(bindingTrace, builtinToJavaTypesMapping == BuiltinToJavaTypesMapping.ENABLED, classBuilderMode);