summaryrefslogtreecommitdiffstats
path: root/compiler/driver/compiler_driver.h
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2014-01-29 10:31:55 +0000
committerVladimir Marko <vmarko@google.com>2014-02-20 11:26:18 +0000
commit7f6cf56942c8469958b273ea968db253051c5b05 (patch)
tree8df31f196572acea32513083f98c1f387e581915 /compiler/driver/compiler_driver.h
parent3188d117d6f1ba5f3a30d0ff231d816ebb59a7f7 (diff)
downloadart-7f6cf56942c8469958b273ea968db253051c5b05.zip
art-7f6cf56942c8469958b273ea968db253051c5b05.tar.gz
art-7f6cf56942c8469958b273ea968db253051c5b05.tar.bz2
Annotate used fields.
Annotate all fields used by a method early during the compilation, check acces rights and record field offset, volatility, etc. Use these annotations when generating code for IGET/IPUT/SGET/SPUT instructions. Change-Id: I4bbf5cca4fecf53c9bf9c93ac1793e2f40c16b5f
Diffstat (limited to 'compiler/driver/compiler_driver.h')
-rw-r--r--compiler/driver/compiler_driver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h
index 092fe52..5c5382b 100644
--- a/compiler/driver/compiler_driver.h
+++ b/compiler/driver/compiler_driver.h
@@ -197,6 +197,9 @@ class CompilerDriver {
bool* is_type_initialized, bool* use_direct_type_ptr,
uintptr_t* direct_type_ptr);
+ void ProcessedInstanceField(bool resolved);
+ void ProcessedStaticField(bool resolved, bool local);
+
// Can we fast path instance field access in a verified accessor?
// If yes, computes field's offset and volatility and whether the method is static or not.
static bool ComputeSpecialAccessorInfo(uint32_t field_idx, bool is_put,