changeset 14942:e8487d98561c

Improve printing of jit_extract_argument
author Max Brister <max@2bass.com>
date Thu, 07 Jun 2012 21:28:56 -0500
parents 1e3d0366ac8b
children 8efcaf5aa233
files src/pt-jit.h
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/pt-jit.h	Thu Jun 07 17:25:58 2012 -0500
+++ b/src/pt-jit.h	Thu Jun 07 21:28:56 2012 -0500
@@ -1625,9 +1625,8 @@
   virtual std::ostream& print (std::ostream& os, size_t indent) const
   {
     print_indent (os, indent);
-    os << "exract ";
-    short_print (os);
-    return os;
+
+    return short_print (os) << " = extract " << name ();
   }
 
   JIT_VALUE_ACCEPT (extract_argument)