Mercurial > hg > graal-jvmci-8
diff src/share/vm/compiler/compilerOracle.cpp @ 9060:cc32ccaaf47f
8003310: Enable -Wunused-function when compiling with gcc
Summary: Add the -Wunused-function flag and remove a number of unused functions.
Reviewed-by: dholmes, coleenp, kvn
author | mikael |
---|---|
date | Thu, 04 Apr 2013 10:01:26 -0700 |
parents | ad5dd04754ee |
children | 89e4d67fdd2a de6a9e811145 |
line wrap: on
line diff
--- a/src/share/vm/compiler/compilerOracle.cpp Wed Apr 03 16:43:09 2013 -0700 +++ b/src/share/vm/compiler/compilerOracle.cpp Thu Apr 04 10:01:26 2013 -0700 @@ -237,13 +237,6 @@ "help" }; -static const char * command_name(OracleCommand command) { - if (command < OracleFirstCommand || command >= OracleCommandCount) { - return "unknown command"; - } - return command_names[command]; -} - class MethodMatcher; static MethodMatcher* lists[OracleCommandCount] = { 0, };