AssignSymbols.java (1423:c13179703f65) AssignSymbols.java (1426:751ada854e5a)
1/*
2 * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided

--- 51 unchanged lines hidden (view full) ---

60import java.util.Set;
61import jdk.nashorn.internal.ir.AccessNode;
62import jdk.nashorn.internal.ir.BinaryNode;
63import jdk.nashorn.internal.ir.Block;
64import jdk.nashorn.internal.ir.CatchNode;
65import jdk.nashorn.internal.ir.Expression;
66import jdk.nashorn.internal.ir.ForNode;
67import jdk.nashorn.internal.ir.FunctionNode;
1/*
2 * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided

--- 51 unchanged lines hidden (view full) ---

60import java.util.Set;
61import jdk.nashorn.internal.ir.AccessNode;
62import jdk.nashorn.internal.ir.BinaryNode;
63import jdk.nashorn.internal.ir.Block;
64import jdk.nashorn.internal.ir.CatchNode;
65import jdk.nashorn.internal.ir.Expression;
66import jdk.nashorn.internal.ir.ForNode;
67import jdk.nashorn.internal.ir.FunctionNode;
68import jdk.nashorn.internal.ir.FunctionNode.CompilationState;
69import jdk.nashorn.internal.ir.IdentNode;
70import jdk.nashorn.internal.ir.IndexNode;
71import jdk.nashorn.internal.ir.LexicalContext;
72import jdk.nashorn.internal.ir.LexicalContextNode;
73import jdk.nashorn.internal.ir.LiteralNode;
74import jdk.nashorn.internal.ir.LiteralNode.ArrayLiteralNode;
75import jdk.nashorn.internal.ir.LiteralNode.ArrayLiteralNode.ArrayUnit;
76import jdk.nashorn.internal.ir.Node;

--- 746 unchanged lines hidden (view full) ---

823 finalizedFunction =
824 markProgramBlock(
825 removeUnusedSlots(
826 createSyntheticInitializers(
827 finalizeParameters(
828 lc.applyTopFlags(functionNode))))
829 .setThisProperties(lc, thisProperties.pop().size()));
830 }
68import jdk.nashorn.internal.ir.IdentNode;
69import jdk.nashorn.internal.ir.IndexNode;
70import jdk.nashorn.internal.ir.LexicalContext;
71import jdk.nashorn.internal.ir.LexicalContextNode;
72import jdk.nashorn.internal.ir.LiteralNode;
73import jdk.nashorn.internal.ir.LiteralNode.ArrayLiteralNode;
74import jdk.nashorn.internal.ir.LiteralNode.ArrayLiteralNode.ArrayUnit;
75import jdk.nashorn.internal.ir.Node;

--- 746 unchanged lines hidden (view full) ---

822 finalizedFunction =
823 markProgramBlock(
824 removeUnusedSlots(
825 createSyntheticInitializers(
826 finalizeParameters(
827 lc.applyTopFlags(functionNode))))
828 .setThisProperties(lc, thisProperties.pop().size()));
829 }
831 return finalizedFunction.setState(lc, CompilationState.SYMBOLS_ASSIGNED);
830 return finalizedFunction;
832 }
833
834 @Override
835 public Node leaveIdentNode(final IdentNode identNode) {
836 if (identNode.isPropertyName()) {
837 return identNode;
838 }
839

--- 203 unchanged lines hidden ---
831 }
832
833 @Override
834 public Node leaveIdentNode(final IdentNode identNode) {
835 if (identNode.isPropertyName()) {
836 return identNode;
837 }
838

--- 203 unchanged lines hidden ---