summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_checker.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-12-16 08:35:46 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-12-16 08:35:46 +0000
commitb059c8a044ed3ede1a0eea4b1e92008ced90c013 (patch)
tree6f87852b9d14e479ea2c7ef92de35c3118a0fd1e /compiler/optimizing/graph_checker.cc
parentbc90a0538e56f98b8e138cb622e6b9d834244ad9 (diff)
parent68289a531484d26214e09f1eadd9833531a3bc3c (diff)
Merge "Revert "ART: Refactor SsaBuilder for more precise typing info""
Diffstat (limited to 'compiler/optimizing/graph_checker.cc')
-rw-r--r--compiler/optimizing/graph_checker.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/compiler/optimizing/graph_checker.cc b/compiler/optimizing/graph_checker.cc
index f3c1dbe3f5..dfc363f9fd 100644
--- a/compiler/optimizing/graph_checker.cc
+++ b/compiler/optimizing/graph_checker.cc
@@ -24,7 +24,6 @@
#include "base/arena_containers.h"
#include "base/bit_vector-inl.h"
#include "base/stringprintf.h"
-#include "handle_scope-inl.h"
namespace art {
@@ -595,17 +594,6 @@ void SSAChecker::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.",
- instruction->DebugName(),
- instruction->GetId()));
- }
- }
}
static Primitive::Type PrimitiveKind(Primitive::Type type) {