diff options
author | 2016-12-15 13:20:02 +0000 | |
---|---|---|
committer | 2016-12-16 13:35:51 +0000 | |
commit | ade72d6e03e2ca49a8d2691f35fe6e37d88a196d (patch) | |
tree | 8f36d796776c4d18a17215de02d5fdd347d34ae6 /compiler/compiled_class.h | |
parent | 7a8e16c827efc866d01b5cbca835b18fe29a83ab (diff) |
Do not resolve types with vdex.
We don't need to, and it's time expensive.
test: test-art-host, 2x faster vdex compilation time.
bug: 30937355
Change-Id: Ic04ebfee9172ed676fbb38e6901615ed3473352a
Diffstat (limited to 'compiler/compiled_class.h')
-rw-r--r-- | compiler/compiled_class.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/compiled_class.h b/compiler/compiled_class.h index b88d613ad5..06ce946942 100644 --- a/compiler/compiled_class.h +++ b/compiler/compiled_class.h @@ -28,8 +28,11 @@ class CompiledClass { mirror::Class::Status GetStatus() const { return status_; } + void SetStatus(mirror::Class::Status status) { + status_ = status; + } private: - const mirror::Class::Status status_; + mirror::Class::Status status_; }; } // namespace art |