Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.max.criutils/src/com/oracle/max/criutils/BaseProfilingInfo.java @ 5507:dc71b06d09f8
Moving classes from cri.ri to api.meta.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 07 Jun 2012 18:24:06 +0200 |
parents | 56860d3f9f39 |
children | 426c605c9d3c |
comparison
equal
deleted
inserted
replaced
5506:56860d3f9f39 | 5507:dc71b06d09f8 |
---|---|
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 package com.oracle.max.criutils; | 23 package com.oracle.max.criutils; |
24 | 24 |
25 import com.oracle.graal.api.meta.*; | |
25 import com.oracle.max.cri.ci.*; | 26 import com.oracle.max.cri.ci.*; |
26 import com.oracle.max.cri.ri.*; | |
27 | 27 |
28 | 28 |
29 /** | 29 /** |
30 * Dummy profiling information in case that a method was not executed frequently enough so that | 30 * Dummy profiling information in case that a method was not executed frequently enough so that |
31 * no profiling information does exist yet, or in case that the profiling information should not be used. | 31 * no profiling information does exist yet, or in case that the profiling information should not be used. |
76 public static RiProfilingInfo get(RiExceptionSeen exceptionSeen) { | 76 public static RiProfilingInfo get(RiExceptionSeen exceptionSeen) { |
77 return NO_PROFILING_INFO[exceptionSeen.ordinal()]; | 77 return NO_PROFILING_INFO[exceptionSeen.ordinal()]; |
78 } | 78 } |
79 | 79 |
80 @Override | 80 @Override |
81 public int getDeoptimizationCount(CiDeoptReason reason) { | 81 public int getDeoptimizationCount(RiDeoptReason reason) { |
82 return 0; | 82 return 0; |
83 } | 83 } |
84 | 84 |
85 @Override | 85 @Override |
86 public String toString() { | 86 public String toString() { |