diff options
author | Carl Shapiro <cshapiro@google.com> | 2011-04-27 23:00:01 -0700 |
---|---|---|
committer | Carl Shapiro <cshapiro@google.com> | 2011-04-27 23:00:01 -0700 |
commit | d862faa2ceae186da5518607505eb942d634ced9 (patch) | |
tree | 3854638a1851457b5f895fc6c39fa032fd90c6f9 /vm/compiler/codegen/CompilerCodegen.h | |
parent | 5cdd4a3f91d3fc25c8eeca8f58e35bb6c4e908ca (diff) | |
download | android_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/codegen/CompilerCodegen.h')
-rw-r--r-- | vm/compiler/codegen/CompilerCodegen.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/vm/compiler/codegen/CompilerCodegen.h b/vm/compiler/codegen/CompilerCodegen.h index 8223d2a9f..2e3b10749 100644 --- a/vm/compiler/codegen/CompilerCodegen.h +++ b/vm/compiler/codegen/CompilerCodegen.h @@ -19,10 +19,6 @@ #include "compiler/CompilerIR.h" -#ifdef __cplusplus -extern "C" { -#endif - /* Maximal number of switch cases to have inline chains */ #define MAX_CHAINED_SWITCH_CASES 64 @@ -39,7 +35,7 @@ void dvmCompilerMethodMIR2LIR(CompilationUnit *cUnit); void dvmCompilerAssembleLIR(CompilationUnit *cUnit, JitTranslationInfo *info); /* Perform translation chain operation. */ -void* dvmJitChain(void* tgtAddr, u4* branchAddr); +extern "C" void* dvmJitChain(void* tgtAddr, u4* branchAddr); /* Install class objects in the literal pool */ void dvmJitInstallClassObjectPointers(CompilationUnit *cUnit, @@ -75,8 +71,4 @@ int dvmCompilerTargetOptHint(int key); /* Implemented in codegen/<target>/<target_variant>/ArchVariant.c */ void dvmCompilerGenMemBarrier(CompilationUnit *cUnit, int barrierKind); -#ifdef __cplusplus -} -#endif - #endif /* _DALVIK_VM_COMPILERCODEGEN_H_ */ |