Mercurial > hg > truffle
comparison src/share/vm/opto/type.hpp @ 3939:f6f3bb0ee072
7088955: add C2 IR support to the SA
Reviewed-by: kvn
author | never |
---|---|
date | Sun, 11 Sep 2011 14:48:24 -0700 |
parents | 1d1603768966 |
children | 8c92982cbbc4 |
comparison
equal
deleted
inserted
replaced
3938:e6b1331a51d2 | 3939:f6f3bb0ee072 |
---|---|
62 // Basic Type object, represents a set of primitive Values. | 62 // Basic Type object, represents a set of primitive Values. |
63 // Types are hash-cons'd into a private class dictionary, so only one of each | 63 // Types are hash-cons'd into a private class dictionary, so only one of each |
64 // different kind of Type exists. Types are never modified after creation, so | 64 // different kind of Type exists. Types are never modified after creation, so |
65 // all their interesting fields are constant. | 65 // all their interesting fields are constant. |
66 class Type { | 66 class Type { |
67 friend class VMStructs; | |
68 | |
67 public: | 69 public: |
68 enum TYPES { | 70 enum TYPES { |
69 Bad=0, // Type check | 71 Bad=0, // Type check |
70 Control, // Control of code (not in lattice) | 72 Control, // Control of code (not in lattice) |
71 Top, // Top of the lattice | 73 Top, // Top of the lattice |