comparison src/share/vm/prims/jvm.h @ 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 f95d63e2154a
comparison
equal deleted inserted replaced
1912:8213b0f5c92d 1913:3b2dea75431e
1 /* 1 /*
2 * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 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.
1045 JVM_CONSTANT_Methodref, 1045 JVM_CONSTANT_Methodref,
1046 JVM_CONSTANT_InterfaceMethodref, 1046 JVM_CONSTANT_InterfaceMethodref,
1047 JVM_CONSTANT_NameAndType, 1047 JVM_CONSTANT_NameAndType,
1048 JVM_CONSTANT_MethodHandle = 15, // JSR 292 1048 JVM_CONSTANT_MethodHandle = 15, // JSR 292
1049 JVM_CONSTANT_MethodType = 16, // JSR 292 1049 JVM_CONSTANT_MethodType = 16, // JSR 292
1050 JVM_CONSTANT_InvokeDynamic = 17 // JSR 292 1050 JVM_CONSTANT_InvokeDynamicTrans = 17, // JSR 292, only occurs in old class files
1051 JVM_CONSTANT_InvokeDynamic = 18 // JSR 292
1051 }; 1052 };
1052 1053
1053 /* JVM_CONSTANT_MethodHandle subtypes */ 1054 /* JVM_CONSTANT_MethodHandle subtypes */
1054 enum { 1055 enum {
1055 JVM_REF_getField = 1, 1056 JVM_REF_getField = 1,