diff options
author | 2015-09-17 15:39:16 +0100 | |
---|---|---|
committer | 2015-09-17 15:45:39 +0100 | |
commit | 76c92ac73eeda2582caee39dd427ca035caf172b (patch) | |
tree | 7d5baae363d7c380476ce8842ad1f43b59d48af5 /compiler/optimizing/nodes.h | |
parent | a201d5eeb0903408df925a1ed1686a55238a274c (diff) |
Optimizing: Allow storing value objects in containers.
Change-Id: Ic9c6b62e36706e571fd71c18d24d8e76ae2d5c7b
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r-- | compiler/optimizing/nodes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index 33c0d88f3d..8acde40e74 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) {} |