summaryrefslogtreecommitdiff
path: root/compiler/exception_test.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2017-10-20 10:31:25 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-10-20 10:31:25 +0000
commit96b7474ebf313abdaf99e657e4ba9758e2467fb1 (patch)
tree175c7a007ef033c3fccc1e74da2e4424e74da336 /compiler/exception_test.cc
parent6247604714ae7fb2b64451b225cc0ecd3d4b716f (diff)
parent174b2e27ebf933b80f4e8b64b4b024ab4306aaac (diff)
Merge "Use ScopedArenaAllocator for code generation."
Diffstat (limited to 'compiler/exception_test.cc')
-rw-r--r--compiler/exception_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/exception_test.cc b/compiler/exception_test.cc
index f759aa5ef8..b434e90f0d 100644
--- a/compiler/exception_test.cc
+++ b/compiler/exception_test.cc
@@ -61,7 +61,8 @@ class ExceptionTest : public CommonRuntimeTest {
}
ArenaPool pool;
- ArenaAllocator allocator(&pool);
+ ArenaStack arena_stack(&pool);
+ ScopedArenaAllocator allocator(&arena_stack);
StackMapStream stack_maps(&allocator, kRuntimeISA);
stack_maps.BeginStackMapEntry(/* dex_pc */ 3u,
/* native_pc_offset */ 3u,