summaryrefslogtreecommitdiff
path: root/compiler/optimizing
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2016-12-02 16:39:35 +0000
committer android-build-merger <android-build-merger@google.com> 2016-12-02 16:39:35 +0000
commitfe071d277b37113c7b8856ee67df120079289fbb (patch)
treea2a0969298518ced7b3f3e444265faa10942d2bb /compiler/optimizing
parentfd112cec4e9306301665425890171fa57fc75784 (diff)
parent9d7ae2eaa232d41b3aba22009c9ad263ee1d0480 (diff)
Merge "ART: Delete unnecessary ScopedObjectAccess"
am: 9d7ae2eaa2 Change-Id: I969245e17d709add1bb39ec124e300f7c54001d4
Diffstat (limited to 'compiler/optimizing')
-rw-r--r--compiler/optimizing/graph_checker.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/optimizing/graph_checker.cc b/compiler/optimizing/graph_checker.cc
index c8cba205fd..188ee3a8d1 100644
--- a/compiler/optimizing/graph_checker.cc
+++ b/compiler/optimizing/graph_checker.cc
@@ -23,7 +23,6 @@
#include "base/arena_containers.h"
#include "base/bit_vector-inl.h"
#include "base/stringprintf.h"
-#include "handle_scope-inl.h"
namespace art {
@@ -448,7 +447,6 @@ void GraphChecker::VisitInstruction(HInstruction* instruction) {
// Ensure that reference type instructions have reference type info.
if (instruction->GetType() == Primitive::kPrimNot) {
- ScopedObjectAccess soa(Thread::Current());
if (!instruction->GetReferenceTypeInfo().IsValid()) {
AddError(StringPrintf("Reference type instruction %s:%d does not have "
"valid reference type information.",
@@ -1011,7 +1009,6 @@ void GraphChecker::VisitConstant(HConstant* instruction) {
void GraphChecker::VisitBoundType(HBoundType* instruction) {
VisitInstruction(instruction);
- ScopedObjectAccess soa(Thread::Current());
if (!instruction->GetUpperBound().IsValid()) {
AddError(StringPrintf(
"%s %d does not have a valid upper bound RTI.",