summaryrefslogtreecommitdiffstats
path: root/vm/compiler/Compiler.h
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2011-04-27 23:00:01 -0700
committerCarl Shapiro <cshapiro@google.com>2011-04-27 23:00:01 -0700
commitd862faa2ceae186da5518607505eb942d634ced9 (patch)
tree3854638a1851457b5f895fc6c39fa032fd90c6f9 /vm/compiler/Compiler.h
parent5cdd4a3f91d3fc25c8eeca8f58e35bb6c4e908ca (diff)
downloadandroid_dalvik-d862faa2ceae186da5518607505eb942d634ced9.tar.gz
android_dalvik-d862faa2ceae186da5518607505eb942d634ced9.tar.bz2
android_dalvik-d862faa2ceae186da5518607505eb942d634ced9.zip
Get rid of uneeded extern, enum, typedef and struct qualifiers.
Change-Id: I236c5a1553a51f82c9bc3eaaab042046c854d3b4
Diffstat (limited to 'vm/compiler/Compiler.h')
-rw-r--r--vm/compiler/Compiler.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/vm/compiler/Compiler.h b/vm/compiler/Compiler.h
index 3ceb44796..2cf29355b 100644
--- a/vm/compiler/Compiler.h
+++ b/vm/compiler/Compiler.h
@@ -20,10 +20,6 @@
#include <setjmp.h>
#include "Thread.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/*
* Uncomment the following to enable JIT signature breakpoint
* #define SIGNATURE_BREAKPOINT
@@ -241,13 +237,9 @@ bool dvmCompilerBuildLoop(struct CompilationUnit *cUnit);
void dvmCompilerUpdateGlobalState(void);
JitTraceDescription *dvmCopyTraceDescriptor(const u2 *pc,
const struct JitEntry *desc);
-void *dvmCompilerGetInterpretTemplate();
+extern "C" void *dvmCompilerGetInterpretTemplate();
JitInstructionSetType dvmCompilerGetInterpretTemplateSet();
u8 dvmGetRegResourceMask(int reg);
void dvmDumpCFG(struct CompilationUnit *cUnit, const char *dirPrefix);
-#ifdef __cplusplus
-}
-#endif
-
#endif /* _DALVIK_VM_COMPILER */