summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_checker.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2016-12-14 10:11:49 -0800
committer Andreas Gampe <agampe@google.com> 2016-12-15 09:50:39 -0800
commit46ee31b67d7ee1bd085fbc240502053caa3cf8fa (patch)
tree83e870f293cd60d533207e389d7b094acd87b31f /compiler/optimizing/graph_checker.cc
parent9538f9e2a5d03f1b1bc07ebfbd93b61dcf8ad604 (diff)
ART: Move to libbase StringPrintf
Remove ART's StringPrintf implementation. Fix up clients. Add missing includes where necessary. Test: m test-art-host Change-Id: I564038d5868595ac3bb88d641af1000cea940e5a
Diffstat (limited to 'compiler/optimizing/graph_checker.cc')
-rw-r--r--compiler/optimizing/graph_checker.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/optimizing/graph_checker.cc b/compiler/optimizing/graph_checker.cc
index 188ee3a8d1..34b52a87b5 100644
--- a/compiler/optimizing/graph_checker.cc
+++ b/compiler/optimizing/graph_checker.cc
@@ -20,12 +20,15 @@
#include <string>
#include <sstream>
+#include "android-base/stringprintf.h"
+
#include "base/arena_containers.h"
#include "base/bit_vector-inl.h"
-#include "base/stringprintf.h"
namespace art {
+using android::base::StringPrintf;
+
static bool IsAllowedToJumpToExitBlock(HInstruction* instruction) {
return instruction->IsThrow() || instruction->IsReturn() || instruction->IsReturnVoid();
}