summaryrefslogtreecommitdiffstats
path: root/vm/analysis
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2011-04-20 16:51:38 -0700
committerCarl Shapiro <cshapiro@google.com>2011-04-20 16:51:38 -0700
commit1e1433e78f560a01744e870c19c162ab88df9dc1 (patch)
tree71b961cb1e81cb2a23ab47d121c6bf3f725879d2 /vm/analysis
parent58ddbada8c4d4a74a7d3ea0c7379c7e1fec6c255 (diff)
downloadandroid_dalvik-1e1433e78f560a01744e870c19c162ab88df9dc1.tar.gz
android_dalvik-1e1433e78f560a01744e870c19c162ab88df9dc1.tar.bz2
android_dalvik-1e1433e78f560a01744e870c19c162ab88df9dc1.zip
Remove unneeded void argument list declarations.
Change-Id: Ica749f6defa890363ec531b29e25bc415dc2cbb9
Diffstat (limited to 'vm/analysis')
-rw-r--r--vm/analysis/CodeVerify.cpp6
-rw-r--r--vm/analysis/Optimize.cpp4
-rw-r--r--vm/analysis/RegisterMap.cpp6
3 files changed, 8 insertions, 8 deletions
diff --git a/vm/analysis/CodeVerify.cpp b/vm/analysis/CodeVerify.cpp
index 3754f4a4b..2bf67d481 100644
--- a/vm/analysis/CodeVerify.cpp
+++ b/vm/analysis/CodeVerify.cpp
@@ -105,7 +105,7 @@ typedef struct RegisterTable {
/* fwd */
#ifndef NDEBUG
-static void checkMergeTab(void);
+static void checkMergeTab();
#endif
static bool isInitMethod(const Method* meth);
static RegType getInvocationThis(const RegisterLine* registerLine,\
@@ -218,7 +218,7 @@ const char gDvmMergeTab[kRegTypeMAX][kRegTypeMAX] =
/*
* Verify symmetry in the conversion table.
*/
-static void checkMergeTab(void)
+static void checkMergeTab()
{
int i, j;
@@ -3428,7 +3428,7 @@ void handleMonitorExit(RegisterLine* workLine, u4 regIdx, u4 insnIdx,
/*
* One-time preparation.
*/
-static void verifyPrep(void)
+static void verifyPrep()
{
#ifndef NDEBUG
/* only need to do this if the table was updated */
diff --git a/vm/analysis/Optimize.cpp b/vm/analysis/Optimize.cpp
index c539ee904..8ac5e0eba 100644
--- a/vm/analysis/Optimize.cpp
+++ b/vm/analysis/Optimize.cpp
@@ -62,7 +62,7 @@ static bool needsReturnBarrier(Method* method);
* TODO: this is currently just a linear array. We will want to put this
* into a hash table as the list size increases.
*/
-bool dvmCreateInlineSubsTable(void)
+bool dvmCreateInlineSubsTable()
{
const InlineOperation* ops = dvmGetInlineOpsTable();
const int count = dvmGetInlineOpsTableLength();
@@ -106,7 +106,7 @@ bool dvmCreateInlineSubsTable(void)
/*
* Release inline sub data structure.
*/
-void dvmFreeInlineSubsTable(void)
+void dvmFreeInlineSubsTable()
{
free(gDvm.inlineSubs);
gDvm.inlineSubs = NULL;
diff --git a/vm/analysis/RegisterMap.cpp b/vm/analysis/RegisterMap.cpp
index 993f22f7e..54b5768cf 100644
--- a/vm/analysis/RegisterMap.cpp
+++ b/vm/analysis/RegisterMap.cpp
@@ -109,7 +109,7 @@ typedef struct MapStats {
/*
* Prepare some things.
*/
-bool dvmRegisterMapStartup(void)
+bool dvmRegisterMapStartup()
{
#ifdef REGISTER_MAP_STATS
MapStats* pStats = calloc(1, sizeof(MapStats));
@@ -121,7 +121,7 @@ bool dvmRegisterMapStartup(void)
/*
* Clean up.
*/
-void dvmRegisterMapShutdown(void)
+void dvmRegisterMapShutdown()
{
#ifdef REGISTER_MAP_STATS
free(gDvm.registerMapStats);
@@ -131,7 +131,7 @@ void dvmRegisterMapShutdown(void)
/*
* Write stats to log file.
*/
-void dvmRegisterMapDumpStats(void)
+void dvmRegisterMapDumpStats()
{
#ifdef REGISTER_MAP_STATS
MapStats* pStats = (MapStats*) gDvm.registerMapStats;