Mercurial > hg > truffle
comparison src/share/vm/classfile/verifier.cpp @ 1957:9752a6549f2e
Merge
author | zgu |
---|---|
date | Fri, 12 Nov 2010 09:37:13 -0500 |
parents | 1070423b51f3 3b2dea75431e |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1956:35f885165c69 | 1957:9752a6549f2e |
---|---|
1906 u2 index = bcs->get_index_u2(); | 1906 u2 index = bcs->get_index_u2(); |
1907 Bytecodes::Code opcode = bcs->raw_code(); | 1907 Bytecodes::Code opcode = bcs->raw_code(); |
1908 unsigned int types = (opcode == Bytecodes::_invokeinterface | 1908 unsigned int types = (opcode == Bytecodes::_invokeinterface |
1909 ? 1 << JVM_CONSTANT_InterfaceMethodref | 1909 ? 1 << JVM_CONSTANT_InterfaceMethodref |
1910 : opcode == Bytecodes::_invokedynamic | 1910 : opcode == Bytecodes::_invokedynamic |
1911 ? (1 << JVM_CONSTANT_NameAndType | 1911 ? ((AllowTransitionalJSR292 ? 1 << JVM_CONSTANT_NameAndType : 0) |
1912 |1 << JVM_CONSTANT_InvokeDynamic) | 1912 |1 << JVM_CONSTANT_InvokeDynamic) |
1913 : 1 << JVM_CONSTANT_Methodref); | 1913 : 1 << JVM_CONSTANT_Methodref); |
1914 verify_cp_type(index, cp, types, CHECK_VERIFY(this)); | 1914 verify_cp_type(index, cp, types, CHECK_VERIFY(this)); |
1915 | 1915 |
1916 // Get method name and signature | 1916 // Get method name and signature |