diff options
author | Carl Shapiro <cshapiro@google.com> | 2011-04-19 17:34:24 -0700 |
---|---|---|
committer | Carl Shapiro <cshapiro@google.com> | 2011-04-19 17:34:24 -0700 |
commit | 5d5b94c8d14b166af580d5dd5906db4f9527d6ca (patch) | |
tree | 3316231983154784835b1d8b056e233727ee42c5 /vm/compiler/codegen/arm/Codegen.h | |
parent | 6f430bb050987ca4e0be70e9c6aea5a11b4a7f84 (diff) | |
download | android_dalvik-5d5b94c8d14b166af580d5dd5906db4f9527d6ca.tar.gz android_dalvik-5d5b94c8d14b166af580d5dd5906db4f9527d6ca.tar.bz2 android_dalvik-5d5b94c8d14b166af580d5dd5906db4f9527d6ca.zip |
Move the compiler into C++.
Change-Id: Idffbdb02c29e2be03a75f5a0a664603f2299504a
Diffstat (limited to 'vm/compiler/codegen/arm/Codegen.h')
-rw-r--r-- | vm/compiler/codegen/arm/Codegen.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vm/compiler/codegen/arm/Codegen.h b/vm/compiler/codegen/arm/Codegen.h index 330619b29..afeb340d4 100644 --- a/vm/compiler/codegen/arm/Codegen.h +++ b/vm/compiler/codegen/arm/Codegen.h @@ -25,6 +25,10 @@ #include "compiler/CompilerIR.h" #include "CalloutHelper.h" +#ifdef __cplusplus +extern "C" { +#endif + #if defined(_CODEGEN_C) /* * loadConstant() sometimes needs to add a small imm to a pre-existing constant @@ -63,3 +67,7 @@ extern void dvmCompilerSetupResourceMasks(ArmLIR *lir); extern ArmLIR* dvmCompilerRegCopyNoInsert(CompilationUnit *cUnit, int rDest, int rSrc); + +#ifdef __cplusplus +} +#endif |