Age | Commit message (Collapse) | Author |
|
Rewrite the operator out step to use a python_host_binary instead.
Test: mma -j50
Change-Id: I1503ad9851bf6d7bae8964f7cb91ba7f19b660ca
|
|
The script assumes that a line containing a '}' and a ';' will only
and always signal the end of a scope.
Unfortunately, this also matches '} while (myCond);',
thus incorrectly thinking it has reached the end of a scope.
This can result in enums being emitted without scope resolution
(or with insufficient scope resolution), cause compile errors.
Change-Id: I6e1b3453b941bff93ddd0b2a9fd3950182668728
Signed-off-by: randy.jeong <randy.jeong@samsung.com>
|
|
- Fixes return type of StackedShadowFrameRecord::GetType
- Makes StackedShadowFrameType an enum class (scoped enum)
- Moves DeoptimizationReturnValueRecord and StackedShadowFrameRecord
to thread.cc file and use forward declaration in thread.h header
- Fixes tools/generate-operator-out.py for scoped enum classes.
Bug: 20845490
Change-Id: I6b67e288b1db563699161e58ec2e2330d42dd8f5
|
|
Fix associated errors about unused paramenters and implict sign conversions.
For sign conversion this was largely in the area of enums, so add ostream
operators for the effected enums and fix tools/generate-operator-out.py.
Tidy arena allocation code and arena allocated data types, rather than fixing
new and delete operators.
Remove dead code.
Change-Id: I5b433e722d2f75baacfacae4d32aef4a828bfe1b
|
|
Adapt generate-operator-out.py to work with both Python 2.x (x >= 6)
and 3.x
Change-Id: I20f1b212069f368f3cf289dfd6b2aaee393cac68
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
|
|
Native support for zip files with multiple classesX.dex.
Works by explicitly looking for those files in ascending order. As
these files have no file system representation for themselves,
introduce synthetic dex locations: the name of the originating file
plus a colon plus the name of the dex file, e.g., test.jar:classes2.dex.
Opening a zip dex file will return all dex files in this way. This
keeps the changes to dex2oat minimal.
To hide multidex/synthetic names from the Java layer, let the handle
of dalvik.system.DexFile refer to a vector of DexFile objects. When
opening a location, test possible synthetic names and add them to the
vector. Thus, the original multidex jar in the classpath will be
associated with all embedded dex files.
Change-Id: I0de107e1369cbc94416c544aca3b17525c9eac8b
|
|
Don't use the computed goto interpreter with clang 3.4 as it causes compilation
to hang.
Avoid inclusion of LLVM_(HOST|DEVICE)_BUILD_MK except for with portable as it
sets clang incompatible cflags.
Most fixes are self-evident, for the quick dex file method inliner the enums
were being used with ostreams, so fix the enums and operator out python script
to allow this.
Note this change effects portable but this is untestable as portable was broken
by ELF file and mc linker changes.
Change-Id: Ia54348f6b1bd3f76d3b71c6e8c5f97626386b903
|
|
* This is how it is done in other scripts in the AOSP tree, as
'/usr/bin/python' may be python3 on some distros, which isn't
supported yet.
Change-Id: I0d9857fc6a122f505953fddcd6244dad75b1838a
|
|
When I created this file I just copied the license from the first .py
file I came across, without noticing it wasn't the appropriate license.
Change-Id: I63ccec962a7a906a393a9889fdda35861d977e9c
|
|
The runtime, compiler, dex2oat, and oatdump now are in seperate trees
to prevent dependency creep. They can now be individually built
without rebuilding the rest of the art projects. dalvikvm and jdwpspy
were already this way. Builds in the art directory should behave as
before, building everything including tests.
Change-Id: Ic6b1151e5ed0f823c3dd301afd2b13eb2d8feb81
|
|
This still passes 034, but is a bit clearer because we get all comments
out of the way early on.
Change-Id: I580ebdca24a4a0738ee102536c8d5b076427264d
|
|
Change-Id: I5d279b735b383a901fd25034fdd9202c8e97582d
|
|
This requires a bit more work in the script to support
enums nested inside classes.
Change-Id: Id0e3561c3675214f74f47ac9f36ba82c41fa775d
|
|
This is obsolete historical cruft.
Change-Id: I140a93ac04f5be0034812f90204e6f9ae36d2d5f
|
|
Change-Id: Iae3b8f32f49f4c91cd41c53bbafb95db071d57bb
|
|
Change-Id: I457a74f1be68debfd351c63f282c3579c6becda2
|
|
Change-Id: I0f53db089b9a1ba38ce82b75ab22448877be67e0
|