summaryrefslogtreecommitdiff
path: root/compiler/optimizing/locations.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-09-15 10:15:55 +0100
committer Vladimir Marko <vmarko@google.com> 2015-09-16 13:21:33 +0100
commitfa6b93c4b69e6d7ddfa2a4ed0aff01b0608c5a3a (patch)
tree3528c88e104dac8e58ae5370ab066b8b1dd0218f /compiler/optimizing/locations.h
parente295be4a95d7861f6ec179edf6565f58cad747cc (diff)
Optimizing: Tag arena allocations in HGraph.
Replace GrowableArray with ArenaVector in HGraph and related classes HEnvironment, HLoopInformation, HInvoke and HPhi, and tag allocations with new arena allocation types. Change-Id: I3d79897af405b9a1a5b98bfc372e70fe0b3bc40d
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_;