Mercurial > hg > truffle
diff src/share/vm/adlc/archDesc.cpp @ 14229:d16be2b85802
8022263: use same Clang warnings on BSD as on Linux
Reviewed-by: kvn, iveresov
author | twisti |
---|---|
date | Tue, 07 Jan 2014 14:26:12 -0800 |
parents | de6a9e811145 |
children | abec000618bf |
line wrap: on
line diff
--- a/src/share/vm/adlc/archDesc.cpp Tue Jan 07 16:02:10 2014 +0100 +++ b/src/share/vm/adlc/archDesc.cpp Tue Jan 07 14:26:12 2014 -0800 @@ -43,32 +43,6 @@ return result; } -// Utilities to characterize effect statements -static bool is_def(int usedef) { - switch(usedef) { - case Component::DEF: - case Component::USE_DEF: return true; break; - } - return false; -} - -static bool is_use(int usedef) { - switch(usedef) { - case Component::USE: - case Component::USE_DEF: - case Component::USE_KILL: return true; break; - } - return false; -} - -static bool is_kill(int usedef) { - switch(usedef) { - case Component::KILL: - case Component::USE_KILL: return true; break; - } - return false; -} - //---------------------------ChainList Methods------------------------------- ChainList::ChainList() { }