summaryrefslogtreecommitdiffstats
path: root/runtime/interpreter
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/interpreter
parent8443637f71a777a13317fe7635028d758a0adf97 (diff)
downloadart-08f1f50d6c2e8f247b8f5f19711d75a792851c7a.zip
art-08f1f50d6c2e8f247b8f5f19711d75a792851c7a.tar.gz
art-08f1f50d6c2e8f247b8f5f19711d75a792851c7a.tar.bz2
Remove FieldHelper.
Change-Id: I2d74e2d5b3c35a691c95339de0db9361847fca11
Diffstat (limited to 'runtime/interpreter')
-rw-r--r--runtime/interpreter/interpreter_common.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/interpreter/interpreter_common.cc b/runtime/interpreter/interpreter_common.cc
index 5340bee..041650f 100644
--- a/runtime/interpreter/interpreter_common.cc
+++ b/runtime/interpreter/interpreter_common.cc
@@ -16,7 +16,6 @@
#include "interpreter_common.h"
-#include "field_helper.h"
#include "mirror/array-inl.h"
namespace art {
@@ -267,8 +266,7 @@ bool DoFieldPut(Thread* self, const ShadowFrame& shadow_frame, const Instruction
HandleWrapper<mirror::ArtField> h_f(hs.NewHandleWrapper(&f));
HandleWrapper<mirror::Object> h_reg(hs.NewHandleWrapper(&reg));
HandleWrapper<mirror::Object> h_obj(hs.NewHandleWrapper(&obj));
- FieldHelper fh(h_f);
- field_class = fh.GetType();
+ field_class = h_f->GetType(true);
}
if (!reg->VerifierInstanceOf(field_class)) {
// This should never happen.