Inline local var

This commit is contained in:
Mikhael Bogdanov
2013-10-30 14:17:10 +04:00
parent 1e5b250d01
commit 47cd9a71a2
@@ -305,9 +305,8 @@ public abstract class CodegenContext<T extends DeclarationDescriptor> {
}
public StackValue lookupInContext(DeclarationDescriptor d, @Nullable StackValue result, GenerationState state, boolean ignoreNoOuter) {
MutableClosure top = closure;
StackValue myOuter = null;
if (top != null) {
if (closure != null) {
EnclosedValueDescriptor answer = closure.getCaptureVariables().get(d);
if (answer != null) {
StackValue innerValue = answer.getInnerValue();