summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-09-17 15:53:10 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-09-17 15:53:10 +0000
commitca83cd09bde09dac73ed66f38dec4bc0bd6afb54 (patch)
treea4d1a7267ae3009758b704d8aa0dd30133baea08 /compiler/optimizing/nodes.h
parente3b223594e2e9d91903a62180c9660664052506b (diff)
parent76c92ac73eeda2582caee39dd427ca035caf172b (diff)
Merge "Optimizing: Allow storing value objects in containers."
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r--compiler/optimizing/nodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h
index 38f46670a6..8dd31bef86 100644
--- a/compiler/optimizing/nodes.h
+++ b/compiler/optimizing/nodes.h
@@ -1243,7 +1243,7 @@ class HUseIterator : public ValueObject {
// instructions they use and pointers to the corresponding HUseListNodes kept
// by the used instructions.
template <typename T>
-class HUserRecord {
+class HUserRecord : public ValueObject {
public:
HUserRecord() : instruction_(nullptr), use_node_(nullptr) {}
explicit HUserRecord(HInstruction* instruction) : instruction_(instruction), use_node_(nullptr) {}