summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorjeffhao <jeffhao@google.com>2012-04-17 16:26:15 -0700
committerjeffhao <jeffhao@google.com>2012-04-17 16:26:15 -0700
commitdf31cf7a95828667ecf6ddac88a8210ce7e0499f (patch)
treed3b0c051418929bb94a33386e5c34889c3ef237d /test
parenta093362689f39f9c59a6e06782e028d2ddfe24bc (diff)
downloadart-df31cf7a95828667ecf6ddac88a8210ce7e0499f.zip
art-df31cf7a95828667ecf6ddac88a8210ce7e0499f.tar.gz
art-df31cf7a95828667ecf6ddac88a8210ce7e0499f.tar.bz2
Renamed ReferenceMapVisitor to prevent confusion with art version.
The test was using art::ReferenceMapVisitor by mistake somehow. Change-Id: Ib509841b79240ff7753edca8238195db39b4c4a9
Diffstat (limited to 'test')
-rw-r--r--test/StackWalk/stack_walk_jni.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/StackWalk/stack_walk_jni.cc b/test/StackWalk/stack_walk_jni.cc
index 95c7de6..15d866f 100644
--- a/test/StackWalk/stack_walk_jni.cc
+++ b/test/StackWalk/stack_walk_jni.cc
@@ -38,8 +38,8 @@ namespace art {
static int gJava_StackWalk_refmap_calls = 0;
-struct ReferenceMapVisitor : public Thread::StackVisitor {
- ReferenceMapVisitor() {
+struct TestReferenceMapVisitor : public Thread::StackVisitor {
+ TestReferenceMapVisitor() {
}
bool VisitFrame(const Frame& frame, uintptr_t pc) {
@@ -99,7 +99,7 @@ extern "C" JNIEXPORT jint JNICALL Java_StackWalk_refmap(JNIEnv*, jobject, jint c
gJava_StackWalk_refmap_calls++;
// Visitor
- ReferenceMapVisitor mapper;
+ TestReferenceMapVisitor mapper;
Thread::Current()->WalkStack(&mapper);
return count + 1;
@@ -109,7 +109,7 @@ extern "C" JNIEXPORT jint JNICALL Java_StackWalk2_refmap2(JNIEnv*, jobject, jint
gJava_StackWalk_refmap_calls++;
// Visitor
- ReferenceMapVisitor mapper;
+ TestReferenceMapVisitor mapper;
Thread::Current()->WalkStack(&mapper);
return count + 1;