diff options
author | Artem Serov <artem.serov@linaro.org> | 2017-11-29 19:18:58 +0000 |
---|---|---|
committer | Artem Serov <artem.serov@linaro.org> | 2017-11-29 19:21:46 +0000 |
commit | 4ec0c8d5ab39df5ab06b4402c02055e9b68da989 (patch) | |
tree | 8e27d49ccef19c5bb971373a81118871b4ced3a2 | |
parent | 7a428d4ee8f6b6b199906eb8bcbab3b940606bfa (diff) | |
download | vixl-4ec0c8d5ab39df5ab06b4402c02055e9b68da989.tar.gz |
Make Location::IsReferenced public.
This function is used as public API in ART.
Change-Id: I1303376f18f2cf4de9315a412a5db5ef48dbe792
-rw-r--r-- | src/aarch32/location-aarch32.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/aarch32/location-aarch32.h b/src/aarch32/location-aarch32.h index e80c053..bf62a31 100644 --- a/src/aarch32/location-aarch32.h +++ b/src/aarch32/location-aarch32.h @@ -71,6 +71,8 @@ class Location : public LocationBase<int32_t> { #endif } + bool IsReferenced() const { return referenced_; } + private: class EmitOperator { public: @@ -189,7 +191,6 @@ class Location : public LocationBase<int32_t> { VIXL_OVERRIDE; void SetReferenced() { referenced_ = true; } - bool IsReferenced() const { return referenced_; } bool HasForwardReferences() const { return !forward_.empty(); } |