comparison src/share/vm/opto/bytecodeInfo.cpp @ 1564:61b2245abf36

6930772: JSR 292 needs to support SPARC C1 Summary: C1 for SPARC needs to support JSR 292. Reviewed-by: never, jrose
author twisti
date Fri, 21 May 2010 02:59:24 -0700
parents cd5dbf694d45
children ab102d5d923e
comparison
equal deleted inserted replaced
1563:1a5913bf5e19 1564:61b2245abf36
1 /* 1 /*
2 * Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved. 2 * Copyright 1998-2010 Sun Microsystems, Inc. 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.
186 } 186 }
187 187
188 return NULL; 188 return NULL;
189 } 189 }
190 190
191 // Always inline MethodHandle methods. 191 // Always inline MethodHandle methods and generated MethodHandle adapters.
192 if (callee_method->is_method_handle_invoke()) 192 if (callee_method->is_method_handle_invoke() || callee_method->is_method_handle_adapter())
193 return NULL; 193 return NULL;
194 194
195 // First check all inlining restrictions which are required for correctness 195 // First check all inlining restrictions which are required for correctness
196 if (callee_method->is_abstract()) return "abstract method"; 196 if (callee_method->is_abstract()) return "abstract method";
197 // note: we allow ik->is_abstract() 197 // note: we allow ik->is_abstract()