OSDN Git Service

ART: Change stream output kNone intrinsic
authorDavid Brazdil <dbrazdil@google.com>
Fri, 31 Jul 2015 16:10:43 +0000 (17:10 +0100)
committerDavid Brazdil <dbrazdil@google.com>
Fri, 31 Jul 2015 16:10:43 +0000 (17:10 +0100)
Name of intrinsics is dumped with C1visualizer and checked with
Checker whose attributes should not contain whitespace. This patch
changes the output printed for non-intrinsified invokes.

Change-Id: I3e565e8c9e26eb61026e7a13823eab20409dd63a

compiler/optimizing/intrinsics.cc

index 8ef13e1..bc7da80 100644 (file)
@@ -359,7 +359,7 @@ void IntrinsicsRecognizer::Run() {
 std::ostream& operator<<(std::ostream& os, const Intrinsics& intrinsic) {
   switch (intrinsic) {
     case Intrinsics::kNone:
-      os << "No intrinsic.";
+      os << "None";
       break;
 #define OPTIMIZING_INTRINSICS(Name, IsStatic) \
     case Intrinsics::k ## Name: \