RFR (XXS): remove basicTypes and basicTypeCount
Christian Thalinger
christian.thalinger at oracle.com
Fri May 3 21:55:09 PDT 2013
[I'm not preparing a webrev for this one because it's trivial.]
http://hg.openjdk.java.net/graal/graal/rev/87e8baf5447c removed the usage of basicTypes and basicTypeCount.
diff --git a/src/share/vm/graal/graalCompilerToVM.cpp b/src/share/vm/graal/graalCompilerToVM.cpp
--- a/src/share/vm/graal/graalCompilerToVM.cpp
+++ b/src/share/vm/graal/graalCompilerToVM.cpp
@@ -616,9 +633,6 @@
return id;
}
-BasicType basicTypes[] = { T_BOOLEAN, T_BYTE, T_SHORT, T_CHAR, T_INT, T_FLOAT, T_LONG, T_DOUBLE, T_OBJECT };
-int basicTypeCount = sizeof(basicTypes) / sizeof(BasicType);
-
C2V_ENTRY(void, initializeConfiguration, (JNIEnv *env, jobject, jobject config))
#define set_boolean(name, value) do { env->SetBooleanField(config, getFieldID(env, config, name, "Z"), value); } while (0)
More information about the graal-dev
mailing list