src/jdk.aot/share/classes/jdk.tools.jaotc.binformat/src/jdk/tools/jaotc/binformat/Symbol.java
changeset 51436 091c0d22e735
parent 47216 71c04702a3d5
child 52910 583fd71c47d6
equal deleted inserted replaced
51435:72c82bd05971 51436:091c0d22e735
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
       
    24 
       
    25 
    24 package jdk.tools.jaotc.binformat;
    26 package jdk.tools.jaotc.binformat;
    25 
    27 
    26 import java.util.Objects;
    28 import java.util.Objects;
    27 
    29 
    28 import jdk.tools.jaotc.binformat.NativeSymbol;
       
    29 
       
    30 public class Symbol {
    30 public class Symbol {
    31 
    31 
       
    32     // @formatter:off (workaround for Eclipse formatting bug)
    32     public enum Binding {
    33     public enum Binding {
    33         UNDEFINED,
    34         UNDEFINED,
    34         LOCAL,
    35         LOCAL,
    35         GLOBAL
    36         GLOBAL
    36     }
    37     }
    40         NATIVE_FUNCTION,
    41         NATIVE_FUNCTION,
    41         JAVA_FUNCTION,
    42         JAVA_FUNCTION,
    42         OBJECT,
    43         OBJECT,
    43         NOTYPE
    44         NOTYPE
    44     }
    45     }
       
    46     // @formatter:on
    45 
    47 
    46     private final String name;
    48     private final String name;
    47     private final int size;
    49     private final int size;
    48     private final int offset;
    50     private final int offset;
    49     private final Binding binding;
    51     private final Binding binding;