diff options
| author | 2015-06-19 13:02:11 +0000 | |
|---|---|---|
| committer | 2015-06-19 13:02:11 +0000 | |
| commit | 97d207c3beba0a4ed6402e882c5909c5ac5bde6d (patch) | |
| tree | de4cd78e9eb789c14fc248755a5e905d5a277b3d /compiler/optimizing/builder.h | |
| parent | d8d7b90ca57e8e3762951bb419b6f2645bb414c5 (diff) | |
| parent | 30451743493bc2f589e96d68ab98f557461f97f9 (diff) | |
Merge "Use compiling class instead of referrer for access checks."
Diffstat (limited to 'compiler/optimizing/builder.h')
| -rw-r--r-- | compiler/optimizing/builder.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h index 36503ce43a..b1ee824845 100644 --- a/compiler/optimizing/builder.h +++ b/compiler/optimizing/builder.h @@ -222,8 +222,12 @@ class HGraphBuilder : public ValueObject { void MaybeRecordStat(MethodCompilationStat compilation_stat); + // Returns the outer-most compiling method's class. mirror::Class* GetOutermostCompilingClass() const; + // Returns the class whose method is being compiled. + mirror::Class* GetCompilingClass() const; + // Returns whether `type_index` points to the outer-most compiling method's class. bool IsOutermostCompilingClass(uint16_t type_index) const; |