diff options
author | Dan Bornstein <danfuzz@android.com> | 2011-04-14 13:08:06 -0700 |
---|---|---|
committer | Dan Bornstein <danfuzz@android.com> | 2011-04-14 13:32:49 -0700 |
commit | a70a3d8faa8f7332549fa0c9ae2008d428e28606 (patch) | |
tree | 44c87c48520df636c76e3b175e2d9d00efd5b28d /libdex/DexInlines.cpp | |
parent | c6d2470eec726ae0ad95e4fd2d9d7da7cb2cdcba (diff) | |
download | android_dalvik-a70a3d8faa8f7332549fa0c9ae2008d428e28606.tar.gz android_dalvik-a70a3d8faa8f7332549fa0c9ae2008d428e28606.tar.bz2 android_dalvik-a70a3d8faa8f7332549fa0c9ae2008d428e28606.zip |
Compile libdex as C++.
The major-looking code changes were all just to unravel some gotos.
Change-Id: I86f98a48b160f357ce93c87446bad5d705d5f05b
Diffstat (limited to 'libdex/DexInlines.cpp')
-rw-r--r-- | libdex/DexInlines.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libdex/DexInlines.cpp b/libdex/DexInlines.cpp new file mode 100644 index 000000000..cbedb6267 --- /dev/null +++ b/libdex/DexInlines.cpp @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2008 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* + * Generate non-inline copies of inline functions in header files. + */ + +#define _DEX_GEN_INLINES + +#include "DexFile.h" + +#include "DexCatch.h" +#include "DexClass.h" +#include "DexDataMap.h" +#include "DexUtf.h" +#include "DexOpcodes.h" +#include "DexProto.h" +#include "InstrUtils.h" +#include "Leb128.h" +#include "ZipArchive.h" |