1 /* |
1 /* |
2 * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2016, 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. |
946 vmIntrinsics::ID iid = _intrinsic_id; // do not check if loaded |
946 vmIntrinsics::ID iid = _intrinsic_id; // do not check if loaded |
947 return iid == vmIntrinsics::_compiledLambdaForm; |
947 return iid == vmIntrinsics::_compiledLambdaForm; |
948 } |
948 } |
949 |
949 |
950 // ------------------------------------------------------------------ |
950 // ------------------------------------------------------------------ |
|
951 // ciMethod::is_object_initializer |
|
952 // |
|
953 bool ciMethod::is_object_initializer() const { |
|
954 return name() == ciSymbol::object_initializer_name(); |
|
955 } |
|
956 |
|
957 // ------------------------------------------------------------------ |
951 // ciMethod::has_member_arg |
958 // ciMethod::has_member_arg |
952 // |
959 // |
953 // Return true if the method is a linker intrinsic like _linkToVirtual. |
960 // Return true if the method is a linker intrinsic like _linkToVirtual. |
954 // These are built by the JVM. |
961 // These are built by the JVM. |
955 bool ciMethod::has_member_arg() const { |
962 bool ciMethod::has_member_arg() const { |