summaryrefslogtreecommitdiffstats
path: root/compiler/dex/quick/codegen_util.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2014-01-24 17:55:18 +0000
committerVladimir Marko <vmarko@google.com>2014-01-28 11:22:42 +0000
commitc7f832061fea59fd6abd125f26c8ca1faec695a5 (patch)
tree183afb5dfc1f4e6fb81f14707caffa558d31dbcc /compiler/dex/quick/codegen_util.cc
parent7ea5dafc81b2bba7cabad26130bb75dc8f709803 (diff)
downloadart-c7f832061fea59fd6abd125f26c8ca1faec695a5.tar.gz
art-c7f832061fea59fd6abd125f26c8ca1faec695a5.tar.bz2
art-c7f832061fea59fd6abd125f26c8ca1faec695a5.zip
Refactor verification results.
Rename VerificationMethodsData to VerificationResults. Create new class VerifiedMethod to hold all the data for a given method. Change-Id: Ife1ac67cede20f3a2f9c7f5345f08a851cf1ed20
Diffstat (limited to 'compiler/dex/quick/codegen_util.cc')
-rw-r--r--compiler/dex/quick/codegen_util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/dex/quick/codegen_util.cc b/compiler/dex/quick/codegen_util.cc
index 1eb79c98ac..cb3681395c 100644
--- a/compiler/dex/quick/codegen_util.cc
+++ b/compiler/dex/quick/codegen_util.cc
@@ -21,7 +21,7 @@
#include "mir_to_lir-inl.h"
#include "dex/quick/dex_file_method_inliner.h"
#include "dex/quick/dex_file_to_method_inliner_map.h"
-#include "dex/verified_methods_data.h"
+#include "dex/verification_results.h"
#include "verifier/dex_gc_map.h"
#include "verifier/method_verifier.h"
@@ -764,7 +764,7 @@ void Mir2Lir::CreateNativeGcMap() {
}
MethodReference method_ref(cu_->dex_file, cu_->method_idx);
const std::vector<uint8_t>* gc_map_raw =
- cu_->compiler_driver->GetVerifiedMethodsData()->GetDexGcMap(method_ref);
+ cu_->compiler_driver->GetVerificationResults()->GetDexGcMap(method_ref);
verifier::DexPcToReferenceMap dex_gc_map(&(*gc_map_raw)[0]);
DCHECK_EQ(gc_map_raw->size(), dex_gc_map.RawSize());
// Compute native offset to references size.