Mercurial > hg > graal-jvmci-8
comparison agent/src/share/classes/sun/jvm/hotspot/utilities/ConstantTag.java @ 1913:3b2dea75431e
6984311: JSR 292 needs optional bootstrap method parameters
Summary: Allow CONSTANT_InvokeDynamic nodes to have any number of extra operands.
Reviewed-by: twisti
author | jrose |
---|---|
date | Sat, 30 Oct 2010 13:08:23 -0700 |
parents | 083fde3b838e |
children | dad31fc330cd |
comparison
equal
deleted
inserted
replaced
1912:8213b0f5c92d | 1913:3b2dea75431e |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 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 | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
38 private static int JVM_CONSTANT_Methodref = 10; | 38 private static int JVM_CONSTANT_Methodref = 10; |
39 private static int JVM_CONSTANT_InterfaceMethodref = 11; | 39 private static int JVM_CONSTANT_InterfaceMethodref = 11; |
40 private static int JVM_CONSTANT_NameAndType = 12; | 40 private static int JVM_CONSTANT_NameAndType = 12; |
41 private static int JVM_CONSTANT_MethodHandle = 15; // JSR 292 | 41 private static int JVM_CONSTANT_MethodHandle = 15; // JSR 292 |
42 private static int JVM_CONSTANT_MethodType = 16; // JSR 292 | 42 private static int JVM_CONSTANT_MethodType = 16; // JSR 292 |
43 private static int JVM_CONSTANT_InvokeDynamic = 17; // JSR 292 | 43 // static int JVM_CONSTANT_InvokeDynamicTrans = 17; // JSR 292, only occurs in old class files |
44 private static int JVM_CONSTANT_InvokeDynamic = 18; // JSR 292 | |
44 private static int JVM_CONSTANT_Invalid = 0; // For bad value initialization | 45 private static int JVM_CONSTANT_Invalid = 0; // For bad value initialization |
45 private static int JVM_CONSTANT_UnresolvedClass = 100; // Temporary tag until actual use | 46 private static int JVM_CONSTANT_UnresolvedClass = 100; // Temporary tag until actual use |
46 private static int JVM_CONSTANT_ClassIndex = 101; // Temporary tag while constructing constant pool | 47 private static int JVM_CONSTANT_ClassIndex = 101; // Temporary tag while constructing constant pool |
47 private static int JVM_CONSTANT_UnresolvedString = 102; // Temporary tag until actual use | 48 private static int JVM_CONSTANT_UnresolvedString = 102; // Temporary tag until actual use |
48 private static int JVM_CONSTANT_StringIndex = 103; // Temporary tag while constructing constant pool | 49 private static int JVM_CONSTANT_StringIndex = 103; // Temporary tag while constructing constant pool |