Mercurial > hg > graal-jvmci-8
comparison jvmci/jdk.vm.ci.code/src/jdk/vm/ci/code/CodeCacheProvider.java @ 22772:f16c1266b0de
Remove unused method.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Fri, 15 Jan 2016 15:51:01 +0100 |
parents | 1bbd4a7c274b |
children | 9273bb6ba33e |
comparison
equal
deleted
inserted
replaced
22771:994b87797b9d | 22772:f16c1266b0de |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2009, 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. |
25 import jdk.vm.ci.code.CompilationResult.Call; | 25 import jdk.vm.ci.code.CompilationResult.Call; |
26 import jdk.vm.ci.code.CompilationResult.DataPatch; | 26 import jdk.vm.ci.code.CompilationResult.DataPatch; |
27 import jdk.vm.ci.code.CompilationResult.Mark; | 27 import jdk.vm.ci.code.CompilationResult.Mark; |
28 import jdk.vm.ci.code.DataSection.Data; | 28 import jdk.vm.ci.code.DataSection.Data; |
29 import jdk.vm.ci.meta.Constant; | 29 import jdk.vm.ci.meta.Constant; |
30 import jdk.vm.ci.meta.JavaConstant; | |
31 import jdk.vm.ci.meta.ResolvedJavaMethod; | 30 import jdk.vm.ci.meta.ResolvedJavaMethod; |
32 import jdk.vm.ci.meta.SpeculationLog; | 31 import jdk.vm.ci.meta.SpeculationLog; |
33 | 32 |
34 /** | 33 /** |
35 * Access to code cache related details and requirements. | 34 * Access to code cache related details and requirements. |
120 * @return the minimum size of the outgoing parameter area in bytes | 119 * @return the minimum size of the outgoing parameter area in bytes |
121 */ | 120 */ |
122 int getMinimumOutgoingSize(); | 121 int getMinimumOutgoingSize(); |
123 | 122 |
124 /** | 123 /** |
125 * Determines if a {@link DataPatch} should be created for a given primitive constant that is | |
126 * part of a {@link CompilationResult}. A data patch is always created for an object constant. | |
127 */ | |
128 boolean needsDataPatch(JavaConstant constant); | |
129 | |
130 /** | |
131 * Create a {@link Data} item for one or more {@link Constant Constants}, that can be used in a | 124 * Create a {@link Data} item for one or more {@link Constant Constants}, that can be used in a |
132 * {@link DataPatch}. If more than one {@link Constant} is given, then they are tightly packed | 125 * {@link DataPatch}. If more than one {@link Constant} is given, then they are tightly packed |
133 * into a single {@link Data} item. | 126 * into a single {@link Data} item. |
134 */ | 127 */ |
135 Data createDataItem(Constant... constants); | 128 Data createDataItem(Constant... constants); |