summaryrefslogtreecommitdiffstats
path: root/runtime/utils.cc
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-12-02 15:04:37 -0800
committerIan Rogers <irogers@google.com>2014-12-02 15:12:27 -0800
commit08f1f50d6c2e8f247b8f5f19711d75a792851c7a (patch)
treedca490545d56168f7f9ae4a4616199b1b1c8ba0c /runtime/utils.cc
parent8443637f71a777a13317fe7635028d758a0adf97 (diff)
downloadart-08f1f50d6c2e8f247b8f5f19711d75a792851c7a.zip
art-08f1f50d6c2e8f247b8f5f19711d75a792851c7a.tar.gz
art-08f1f50d6c2e8f247b8f5f19711d75a792851c7a.tar.bz2
Remove FieldHelper.
Change-Id: I2d74e2d5b3c35a691c95339de0db9361847fca11
Diffstat (limited to 'runtime/utils.cc')
-rw-r--r--runtime/utils.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/utils.cc b/runtime/utils.cc
index ad46be6..1211547 100644
--- a/runtime/utils.cc
+++ b/runtime/utils.cc
@@ -28,7 +28,6 @@
#include "base/stl_util.h"
#include "base/unix_file/fd_file.h"
#include "dex_file-inl.h"
-#include "field_helper.h"
#include "mirror/art_field-inl.h"
#include "mirror/art_method-inl.h"
#include "mirror/class-inl.h"
@@ -324,8 +323,8 @@ std::string PrettyField(mirror::ArtField* f, bool with_type) {
result += PrettyDescriptor(f->GetTypeDescriptor());
result += ' ';
}
- StackHandleScope<1> hs(Thread::Current());
- result += PrettyDescriptor(FieldHelper(hs.NewHandle(f)).GetDeclaringClassDescriptor());
+ std::string temp;
+ result += PrettyDescriptor(f->GetDeclaringClass()->GetDescriptor(&temp));
result += '.';
result += f->GetName();
return result;