Mercurial > hg > graal-compiler
annotate graal/com.oracle.jvmci.meta/src/com/oracle/jvmci/meta/MetaAccessProvider.java @ 21619:b14a218c5471
Fix in the dominator based conditional elimination for the corner case of a loop exit merge.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 31 May 2015 22:48:50 +0200 |
parents | 48c1ebd24120 |
children |
rev | line source |
---|---|
5509
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
1 /* |
18187
9619ba4daf4c
Rename Constant to JavaConstant.
Roland Schatz <roland.schatz@oracle.com>
parents:
16482
diff
changeset
|
2 * Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved. |
5509
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
4 * |
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
5 * This code is free software; you can redistribute it and/or modify it |
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
6 * under the terms of the GNU General Public License version 2 only, as |
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
7 * published by the Free Software Foundation. |
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
8 * |
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT |
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
12 * version 2 for more details (a copy is included in the LICENSE file that |
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
13 * accompanied this code). |
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
14 * |
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
15 * You should have received a copy of the GNU General Public License version |
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
16 * 2 along with this work; if not, write to the Free Software Foundation, |
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
18 * |
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
20 * or visit www.oracle.com if you need additional information or have any |
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
21 * questions. |
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
22 */ |
21556
48c1ebd24120
renamed com.oracle.graal.api[meta|code] modules to com.oracle.jvmci.[meta|code] (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents:
18530
diff
changeset
|
23 package com.oracle.jvmci.meta; |
5509
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
24 |
5535
e624cded7986
Moving methods from RiRuntime to MetaAccessProvider.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
5509
diff
changeset
|
25 import java.lang.reflect.*; |
e624cded7986
Moving methods from RiRuntime to MetaAccessProvider.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
5509
diff
changeset
|
26 |
6329
92bc58dc5b5e
More clean up and documentation in api.code and api.meta.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
6328
diff
changeset
|
27 /** |
12045
0fc653a9e019
made GraalCodeCacheProvider independent of CodeCacheProvider and renamed the former to LoweringProvider (GRAAL-511)
Doug Simon <doug.simon@oracle.com>
parents:
11839
diff
changeset
|
28 * Provides access to the metadata of a class typically provided in a class file. |
6329
92bc58dc5b5e
More clean up and documentation in api.code and api.meta.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
6328
diff
changeset
|
29 */ |
18530
2906b3cc3e2f
moved application of Remote marker interface to implementation classes only
Doug Simon <doug.simon@oracle.com>
parents:
18465
diff
changeset
|
30 public interface MetaAccessProvider { |
5509
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
31 |
6329
92bc58dc5b5e
More clean up and documentation in api.code and api.meta.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
6328
diff
changeset
|
32 /** |
92bc58dc5b5e
More clean up and documentation in api.code and api.meta.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
6328
diff
changeset
|
33 * Returns the resolved Java type representing a given Java class. |
16482
162f3f682613
moved lookupJavaTypes(MetaAccessProvider metaAccess, Class<?>[] classes) from MetaUtil to be a default method in MetaAccessProvider
Doug Simon <doug.simon@oracle.com>
parents:
15040
diff
changeset
|
34 * |
6329
92bc58dc5b5e
More clean up and documentation in api.code and api.meta.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
6328
diff
changeset
|
35 * @param clazz the Java class object |
92bc58dc5b5e
More clean up and documentation in api.code and api.meta.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
6328
diff
changeset
|
36 * @return the resolved Java type object |
92bc58dc5b5e
More clean up and documentation in api.code and api.meta.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
6328
diff
changeset
|
37 */ |
7530
5e3d1a68664e
applied mx eclipseformat to all Java files
Doug Simon <doug.simon@oracle.com>
parents:
7359
diff
changeset
|
38 ResolvedJavaType lookupJavaType(Class<?> clazz); |
5535
e624cded7986
Moving methods from RiRuntime to MetaAccessProvider.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
5509
diff
changeset
|
39 |
e624cded7986
Moving methods from RiRuntime to MetaAccessProvider.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
5509
diff
changeset
|
40 /** |
16482
162f3f682613
moved lookupJavaTypes(MetaAccessProvider metaAccess, Class<?>[] classes) from MetaUtil to be a default method in MetaAccessProvider
Doug Simon <doug.simon@oracle.com>
parents:
15040
diff
changeset
|
41 * Returns the resolved Java types representing some given Java classes. |
162f3f682613
moved lookupJavaTypes(MetaAccessProvider metaAccess, Class<?>[] classes) from MetaUtil to be a default method in MetaAccessProvider
Doug Simon <doug.simon@oracle.com>
parents:
15040
diff
changeset
|
42 * |
162f3f682613
moved lookupJavaTypes(MetaAccessProvider metaAccess, Class<?>[] classes) from MetaUtil to be a default method in MetaAccessProvider
Doug Simon <doug.simon@oracle.com>
parents:
15040
diff
changeset
|
43 * @param classes the Java class objects |
162f3f682613
moved lookupJavaTypes(MetaAccessProvider metaAccess, Class<?>[] classes) from MetaUtil to be a default method in MetaAccessProvider
Doug Simon <doug.simon@oracle.com>
parents:
15040
diff
changeset
|
44 * @return the resolved Java type objects |
162f3f682613
moved lookupJavaTypes(MetaAccessProvider metaAccess, Class<?>[] classes) from MetaUtil to be a default method in MetaAccessProvider
Doug Simon <doug.simon@oracle.com>
parents:
15040
diff
changeset
|
45 */ |
162f3f682613
moved lookupJavaTypes(MetaAccessProvider metaAccess, Class<?>[] classes) from MetaUtil to be a default method in MetaAccessProvider
Doug Simon <doug.simon@oracle.com>
parents:
15040
diff
changeset
|
46 default ResolvedJavaType[] lookupJavaTypes(Class<?>[] classes) { |
162f3f682613
moved lookupJavaTypes(MetaAccessProvider metaAccess, Class<?>[] classes) from MetaUtil to be a default method in MetaAccessProvider
Doug Simon <doug.simon@oracle.com>
parents:
15040
diff
changeset
|
47 ResolvedJavaType[] result = new ResolvedJavaType[classes.length]; |
162f3f682613
moved lookupJavaTypes(MetaAccessProvider metaAccess, Class<?>[] classes) from MetaUtil to be a default method in MetaAccessProvider
Doug Simon <doug.simon@oracle.com>
parents:
15040
diff
changeset
|
48 for (int i = 0; i < result.length; i++) { |
162f3f682613
moved lookupJavaTypes(MetaAccessProvider metaAccess, Class<?>[] classes) from MetaUtil to be a default method in MetaAccessProvider
Doug Simon <doug.simon@oracle.com>
parents:
15040
diff
changeset
|
49 result[i] = lookupJavaType(classes[i]); |
162f3f682613
moved lookupJavaTypes(MetaAccessProvider metaAccess, Class<?>[] classes) from MetaUtil to be a default method in MetaAccessProvider
Doug Simon <doug.simon@oracle.com>
parents:
15040
diff
changeset
|
50 } |
162f3f682613
moved lookupJavaTypes(MetaAccessProvider metaAccess, Class<?>[] classes) from MetaUtil to be a default method in MetaAccessProvider
Doug Simon <doug.simon@oracle.com>
parents:
15040
diff
changeset
|
51 return result; |
162f3f682613
moved lookupJavaTypes(MetaAccessProvider metaAccess, Class<?>[] classes) from MetaUtil to be a default method in MetaAccessProvider
Doug Simon <doug.simon@oracle.com>
parents:
15040
diff
changeset
|
52 } |
162f3f682613
moved lookupJavaTypes(MetaAccessProvider metaAccess, Class<?>[] classes) from MetaUtil to be a default method in MetaAccessProvider
Doug Simon <doug.simon@oracle.com>
parents:
15040
diff
changeset
|
53 |
162f3f682613
moved lookupJavaTypes(MetaAccessProvider metaAccess, Class<?>[] classes) from MetaUtil to be a default method in MetaAccessProvider
Doug Simon <doug.simon@oracle.com>
parents:
15040
diff
changeset
|
54 /** |
18373
91283d4a1218
Use the base class Executable (introduced in Java 8) to unify the handling of Method and Constructor in MetaAccessProvider
Christian Wimmer <christian.wimmer@oracle.com>
parents:
18267
diff
changeset
|
55 * Provides the {@link ResolvedJavaMethod} for a {@link Method} or {@link Constructor} obtained |
91283d4a1218
Use the base class Executable (introduced in Java 8) to unify the handling of Method and Constructor in MetaAccessProvider
Christian Wimmer <christian.wimmer@oracle.com>
parents:
18267
diff
changeset
|
56 * via reflection. |
5535
e624cded7986
Moving methods from RiRuntime to MetaAccessProvider.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
5509
diff
changeset
|
57 */ |
18373
91283d4a1218
Use the base class Executable (introduced in Java 8) to unify the handling of Method and Constructor in MetaAccessProvider
Christian Wimmer <christian.wimmer@oracle.com>
parents:
18267
diff
changeset
|
58 ResolvedJavaMethod lookupJavaMethod(Executable reflectionMethod); |
7044
34753b057324
added unit tests for JavaType, JavaMethod and ResolvedJavaMethod
Doug Simon <doug.simon@oracle.com>
parents:
7015
diff
changeset
|
59 |
34753b057324
added unit tests for JavaType, JavaMethod and ResolvedJavaMethod
Doug Simon <doug.simon@oracle.com>
parents:
7015
diff
changeset
|
60 /** |
6442
45f682f7fea8
Add MetaAccessProvider.getResolvedJavaField to convert from reflection field to metadata field
Christian Wimmer <christian.wimmer@oracle.com>
parents:
6329
diff
changeset
|
61 * Provides the {@link ResolvedJavaField} for a {@link Field} obtained via reflection. |
45f682f7fea8
Add MetaAccessProvider.getResolvedJavaField to convert from reflection field to metadata field
Christian Wimmer <christian.wimmer@oracle.com>
parents:
6329
diff
changeset
|
62 */ |
6539
2463eb24b644
Cleanup of Graal API: Rename methods so that it follows the getXxx naming convention and so that they are similar to the names of the java.lang.reflect classes. Remove unused methods.
Christian Wimmer <christian.wimmer@oracle.com>
parents:
6442
diff
changeset
|
63 ResolvedJavaField lookupJavaField(Field reflectionField); |
2463eb24b644
Cleanup of Graal API: Rename methods so that it follows the getXxx naming convention and so that they are similar to the names of the java.lang.reflect classes. Remove unused methods.
Christian Wimmer <christian.wimmer@oracle.com>
parents:
6442
diff
changeset
|
64 |
2463eb24b644
Cleanup of Graal API: Rename methods so that it follows the getXxx naming convention and so that they are similar to the names of the java.lang.reflect classes. Remove unused methods.
Christian Wimmer <christian.wimmer@oracle.com>
parents:
6442
diff
changeset
|
65 /** |
18187
9619ba4daf4c
Rename Constant to JavaConstant.
Roland Schatz <roland.schatz@oracle.com>
parents:
16482
diff
changeset
|
66 * Returns the resolved Java type of the given {@link JavaConstant} object. |
16482
162f3f682613
moved lookupJavaTypes(MetaAccessProvider metaAccess, Class<?>[] classes) from MetaUtil to be a default method in MetaAccessProvider
Doug Simon <doug.simon@oracle.com>
parents:
15040
diff
changeset
|
67 * |
6539
2463eb24b644
Cleanup of Graal API: Rename methods so that it follows the getXxx naming convention and so that they are similar to the names of the java.lang.reflect classes. Remove unused methods.
Christian Wimmer <christian.wimmer@oracle.com>
parents:
6442
diff
changeset
|
68 * @return {@code null} if {@code constant.isNull() || !constant.kind.isObject()} |
2463eb24b644
Cleanup of Graal API: Rename methods so that it follows the getXxx naming convention and so that they are similar to the names of the java.lang.reflect classes. Remove unused methods.
Christian Wimmer <christian.wimmer@oracle.com>
parents:
6442
diff
changeset
|
69 */ |
18187
9619ba4daf4c
Rename Constant to JavaConstant.
Roland Schatz <roland.schatz@oracle.com>
parents:
16482
diff
changeset
|
70 ResolvedJavaType lookupJavaType(JavaConstant constant); |
6442
45f682f7fea8
Add MetaAccessProvider.getResolvedJavaField to convert from reflection field to metadata field
Christian Wimmer <christian.wimmer@oracle.com>
parents:
6329
diff
changeset
|
71 |
45f682f7fea8
Add MetaAccessProvider.getResolvedJavaField to convert from reflection field to metadata field
Christian Wimmer <christian.wimmer@oracle.com>
parents:
6329
diff
changeset
|
72 /** |
13966
be0d961e3a88
New methods for querying memory usage of individual objects and object graphs in Graal API (MetaAccessProvider#getMemorySize, MetaUtil#getMemorySizeRecursive).
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
13677
diff
changeset
|
73 * Returns the number of bytes occupied by this constant value or constant object. |
16482
162f3f682613
moved lookupJavaTypes(MetaAccessProvider metaAccess, Class<?>[] classes) from MetaUtil to be a default method in MetaAccessProvider
Doug Simon <doug.simon@oracle.com>
parents:
15040
diff
changeset
|
74 * |
13966
be0d961e3a88
New methods for querying memory usage of individual objects and object graphs in Graal API (MetaAccessProvider#getMemorySize, MetaUtil#getMemorySizeRecursive).
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
13677
diff
changeset
|
75 * @param constant the constant whose bytes should be measured |
be0d961e3a88
New methods for querying memory usage of individual objects and object graphs in Graal API (MetaAccessProvider#getMemorySize, MetaUtil#getMemorySizeRecursive).
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
13677
diff
changeset
|
76 * @return the number of bytes occupied by this constant |
be0d961e3a88
New methods for querying memory usage of individual objects and object graphs in Graal API (MetaAccessProvider#getMemorySize, MetaUtil#getMemorySizeRecursive).
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
13677
diff
changeset
|
77 */ |
18187
9619ba4daf4c
Rename Constant to JavaConstant.
Roland Schatz <roland.schatz@oracle.com>
parents:
16482
diff
changeset
|
78 long getMemorySize(JavaConstant constant); |
13966
be0d961e3a88
New methods for querying memory usage of individual objects and object graphs in Graal API (MetaAccessProvider#getMemorySize, MetaUtil#getMemorySizeRecursive).
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
13677
diff
changeset
|
79 |
be0d961e3a88
New methods for querying memory usage of individual objects and object graphs in Graal API (MetaAccessProvider#getMemorySize, MetaUtil#getMemorySizeRecursive).
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
13677
diff
changeset
|
80 /** |
7530
5e3d1a68664e
applied mx eclipseformat to all Java files
Doug Simon <doug.simon@oracle.com>
parents:
7359
diff
changeset
|
81 * Parses a <a |
5e3d1a68664e
applied mx eclipseformat to all Java files
Doug Simon <doug.simon@oracle.com>
parents:
7359
diff
changeset
|
82 * href="http://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.3.3">method |
5e3d1a68664e
applied mx eclipseformat to all Java files
Doug Simon <doug.simon@oracle.com>
parents:
7359
diff
changeset
|
83 * descriptor</a> into a {@link Signature}. The behavior of this method is undefined if the |
5e3d1a68664e
applied mx eclipseformat to all Java files
Doug Simon <doug.simon@oracle.com>
parents:
7359
diff
changeset
|
84 * method descriptor is not well formed. |
7359
6a16788a29a6
added API method for parsing a valid Method Descriptor string (JVMS 4.3.3) into a Signature object
Doug Simon <doug.simon@oracle.com>
parents:
7044
diff
changeset
|
85 */ |
6a16788a29a6
added API method for parsing a valid Method Descriptor string (JVMS 4.3.3) into a Signature object
Doug Simon <doug.simon@oracle.com>
parents:
7044
diff
changeset
|
86 Signature parseMethodDescriptor(String methodDescriptor); |
6a16788a29a6
added API method for parsing a valid Method Descriptor string (JVMS 4.3.3) into a Signature object
Doug Simon <doug.simon@oracle.com>
parents:
7044
diff
changeset
|
87 |
6a16788a29a6
added API method for parsing a valid Method Descriptor string (JVMS 4.3.3) into a Signature object
Doug Simon <doug.simon@oracle.com>
parents:
7044
diff
changeset
|
88 /** |
11839
0e2cceed1caf
Temporarily move encodeDeoptActionAndReason to MetaAccessProvider
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
11682
diff
changeset
|
89 * Encodes a deoptimization action and a deoptimization reason in an integer value. |
16482
162f3f682613
moved lookupJavaTypes(MetaAccessProvider metaAccess, Class<?>[] classes) from MetaUtil to be a default method in MetaAccessProvider
Doug Simon <doug.simon@oracle.com>
parents:
15040
diff
changeset
|
90 * |
13677
45fcb3ec0d43
Rename more 'speculation id' to 'debug id'. Add decodeDebugId to MetaAccessProvider
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
12719
diff
changeset
|
91 * @param debugId an integer that can be used to track the origin of a deoptimization at |
45fcb3ec0d43
Rename more 'speculation id' to 'debug id'. Add decodeDebugId to MetaAccessProvider
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
12719
diff
changeset
|
92 * runtime. There is no guarantee that the runtime will use this value. The runtime |
45fcb3ec0d43
Rename more 'speculation id' to 'debug id'. Add decodeDebugId to MetaAccessProvider
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
12719
diff
changeset
|
93 * may even keep fewer than 32 bits. |
16482
162f3f682613
moved lookupJavaTypes(MetaAccessProvider metaAccess, Class<?>[] classes) from MetaUtil to be a default method in MetaAccessProvider
Doug Simon <doug.simon@oracle.com>
parents:
15040
diff
changeset
|
94 * |
11839
0e2cceed1caf
Temporarily move encodeDeoptActionAndReason to MetaAccessProvider
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
11682
diff
changeset
|
95 * @return the encoded value as an integer |
0e2cceed1caf
Temporarily move encodeDeoptActionAndReason to MetaAccessProvider
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
11682
diff
changeset
|
96 */ |
18187
9619ba4daf4c
Rename Constant to JavaConstant.
Roland Schatz <roland.schatz@oracle.com>
parents:
16482
diff
changeset
|
97 JavaConstant encodeDeoptActionAndReason(DeoptimizationAction action, DeoptimizationReason reason, int debugId); |
12484
2d8a8980eda8
Canonicalize DynamicDeoptimize nodes back to Deoptimize when used with a constant reason&action
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
12362
diff
changeset
|
98 |
18187
9619ba4daf4c
Rename Constant to JavaConstant.
Roland Schatz <roland.schatz@oracle.com>
parents:
16482
diff
changeset
|
99 DeoptimizationReason decodeDeoptReason(JavaConstant constant); |
12484
2d8a8980eda8
Canonicalize DynamicDeoptimize nodes back to Deoptimize when used with a constant reason&action
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
12362
diff
changeset
|
100 |
18187
9619ba4daf4c
Rename Constant to JavaConstant.
Roland Schatz <roland.schatz@oracle.com>
parents:
16482
diff
changeset
|
101 DeoptimizationAction decodeDeoptAction(JavaConstant constant); |
13677
45fcb3ec0d43
Rename more 'speculation id' to 'debug id'. Add decodeDebugId to MetaAccessProvider
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
12719
diff
changeset
|
102 |
18187
9619ba4daf4c
Rename Constant to JavaConstant.
Roland Schatz <roland.schatz@oracle.com>
parents:
16482
diff
changeset
|
103 int decodeDebugId(JavaConstant constant); |
5509
6ed763809de7
Added new projects graal.api.code and graal.api.interpreter
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
diff
changeset
|
104 } |