comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/utilities/ValueProfile.java @ 19507:1cde96b96673

Fixed code format issues.
author Roland Schatz <roland.schatz@oracle.com>
date Thu, 19 Feb 2015 16:15:56 +0100
parents f57d86eb036f
children f7b3b0c5c3e5
comparison
equal deleted inserted replaced
19506:8c7536965c95 19507:1cde96b96673
24 */ 24 */
25 package com.oracle.truffle.api.utilities; 25 package com.oracle.truffle.api.utilities;
26 26
27 /** 27 /**
28 * Utility class to speculate on certain properties of values. 28 * Utility class to speculate on certain properties of values.
29 * 29 *
30 * Example usage: 30 * Example usage:
31 * 31 *
32 * <pre> 32 * <pre>
33 * private final ValueProfile classProfile = ValueProfile.createClassProfile(); 33 * private final ValueProfile classProfile = ValueProfile.createClassProfile();
34 * 34 *
35 * return classProfile.profile(value); 35 * return classProfile.profile(value);
36 * </pre> 36 * </pre>
37 * 37 *
38 * All instances of {@code ValueProfile} (and subclasses) must be held in {@code final} fields for 38 * All instances of {@code ValueProfile} (and subclasses) must be held in {@code final} fields for
39 * compiler optimizations to take effect. 39 * compiler optimizations to take effect.
40 * 40 *
41 * @see #createPrimitiveProfile() 41 * @see #createPrimitiveProfile()
42 * @see #createIdentityProfile() 42 * @see #createIdentityProfile()
43 * @see #createClassProfile() 43 * @see #createClassProfile()
44 */ 44 */
45 public abstract class ValueProfile { 45 public abstract class ValueProfile {