comparison graal/com.oracle.max.cri/src/com/oracle/max/cri/ci/CiDebugInfo.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 12c63380e7ff
children
comparison
equal deleted inserted replaced
5506:56860d3f9f39 5507:dc71b06d09f8
22 */ 22 */
23 package com.oracle.max.cri.ci; 23 package com.oracle.max.cri.ci;
24 24
25 import java.io.*; 25 import java.io.*;
26 26
27 import com.oracle.graal.api.meta.*;
28
27 /** 29 /**
28 * Represents the debugging information for a particular place in the code, 30 * Represents the debugging information for a particular place in the code,
29 * which includes the code position, a reference map, and deoptimization information. 31 * which includes the code position, a reference map, and deoptimization information.
30 */ 32 */
31 public class CiDebugInfo implements Serializable { 33 public class CiDebugInfo implements Serializable {
41 /** 43 /**
42 * The reference map for the registers at this point. The reference map is <i>packed</i> in that 44 * The reference map for the registers at this point. The reference map is <i>packed</i> in that
43 * for bit {@code k} in byte {@code n}, it refers to the register whose 45 * for bit {@code k} in byte {@code n}, it refers to the register whose
44 * {@linkplain CiRegister#number number} is {@code (k + n * 8)}. 46 * {@linkplain CiRegister#number number} is {@code (k + n * 8)}.
45 */ 47 */
46 public final CiBitMap registerRefMap; 48 public final RiBitMap registerRefMap;
47 49
48 /** 50 /**
49 * The reference map for the stack frame at this point. A set bit at {@code k} in the map 51 * The reference map for the stack frame at this point. A set bit at {@code k} in the map
50 * represents stack slot number {@code k}. 52 * represents stack slot number {@code k}.
51 */ 53 */
52 public final CiBitMap frameRefMap; 54 public final RiBitMap frameRefMap;
53 55
54 /** 56 /**
55 * Creates a new {@code CiDebugInfo} from the given values. 57 * Creates a new {@code CiDebugInfo} from the given values.
56 * 58 *
57 * @param codePos the {@linkplain CiCodePos code position} or {@linkplain CiFrame frame} info 59 * @param codePos the {@linkplain CiCodePos code position} or {@linkplain CiFrame frame} info
58 * @param registerRefMap the register map 60 * @param registerRefMap the register map
59 * @param frameRefMap the reference map for {@code frame}, which may be {@code null} 61 * @param frameRefMap the reference map for {@code frame}, which may be {@code null}
60 */ 62 */
61 public CiDebugInfo(CiCodePos codePos, CiBitMap registerRefMap, CiBitMap frameRefMap) { 63 public CiDebugInfo(CiCodePos codePos, RiBitMap registerRefMap, RiBitMap frameRefMap) {
62 this.codePos = codePos; 64 this.codePos = codePos;
63 this.registerRefMap = registerRefMap; 65 this.registerRefMap = registerRefMap;
64 this.frameRefMap = frameRefMap; 66 this.frameRefMap = frameRefMap;
65 } 67 }
66 68