summaryrefslogtreecommitdiff
path: root/compiler/utils/debug_stack.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2014-04-11 12:28:11 +0100
committer Vladimir Marko <vmarko@google.com> 2014-05-09 15:38:54 +0100
commit69f08baaa4b70ce32a258f3da43cf12f2a034696 (patch)
tree33f8b5a6675ef8b3b1755fa8e88f6b7dae33b857 /compiler/utils/debug_stack.h
parent18694f430b1e499954e5e4fcdbd6ac07a07763ae (diff)
Clean up ScopedArenaAllocatorAdapter.
Make the adapter equality-comparable, define aliases for containers using the adapter and use those aliases. Fix DebugStackIndirectTopRefImpl assignment. Change-Id: I689aa8a93d169f63a659dec5040567d7b1343277
Diffstat (limited to 'compiler/utils/debug_stack.h')
-rw-r--r--compiler/utils/debug_stack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/utils/debug_stack.h b/compiler/utils/debug_stack.h
index 2e02b438b9..1bb0624187 100644
--- a/compiler/utils/debug_stack.h
+++ b/compiler/utils/debug_stack.h
@@ -118,7 +118,7 @@ class DebugStackIndirectTopRefImpl {
CheckTop();
}
DebugStackIndirectTopRefImpl& operator=(const DebugStackIndirectTopRefImpl& other) {
- CHECK(ref_ == other->ref_);
+ CHECK(ref_ == other.ref_);
CheckTop();
return *this;
}