src/share/vm/adlc/output_c.cpp

changeset 9846
9003f35baaa0
parent 9333
2fccf735a116
child 9852
70aa912cebe5
equal deleted inserted replaced
9845:68172de2a0d7 9846:9003f35baaa0
29 // Utilities to characterize effect statements 29 // Utilities to characterize effect statements
30 static bool is_def(int usedef) { 30 static bool is_def(int usedef) {
31 switch(usedef) { 31 switch(usedef) {
32 case Component::DEF: 32 case Component::DEF:
33 case Component::USE_DEF: return true; break; 33 case Component::USE_DEF: return true; break;
34 }
35 return false;
36 }
37
38 static bool is_use(int usedef) {
39 switch(usedef) {
40 case Component::USE:
41 case Component::USE_DEF:
42 case Component::USE_KILL: return true; break;
43 }
44 return false;
45 }
46
47 static bool is_kill(int usedef) {
48 switch(usedef) {
49 case Component::KILL:
50 case Component::USE_KILL: return true; break;
51 } 34 }
52 return false; 35 return false;
53 } 36 }
54 37
55 // Define an array containing the machine register names, strings. 38 // Define an array containing the machine register names, strings.

mercurial