aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/aarch32/location-aarch32.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/aarch32/location-aarch32.h b/src/aarch32/location-aarch32.h
index e80c0533..bf62a313 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(); }