summaryrefslogtreecommitdiff
path: root/compiler/optimizing/locations.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/optimizing/locations.h')
-rw-r--r--compiler/optimizing/locations.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/locations.h b/compiler/optimizing/locations.h
index 4b250465aa..cc3b35b467 100644
--- a/compiler/optimizing/locations.h
+++ b/compiler/optimizing/locations.h
@@ -35,7 +35,7 @@ std::ostream& operator<<(std::ostream& os, const Location& location);
* A Location is an abstraction over the potential location
* of an instruction. It could be in register or stack.
*/
-class Location : public ValueObject {
+class Location {
public:
enum OutputOverlap {
kOutputOverlap,
@@ -84,7 +84,7 @@ class Location : public ValueObject {
DCHECK(!IsValid());
}
- Location(const Location& other) : ValueObject(), value_(other.value_) {}
+ Location(const Location& other) : value_(other.value_) {}
Location& operator=(const Location& other) {
value_ = other.value_;