< prev index next >
src/hotspot/cpu/sparc/sparc.ad
Print this page
rev 54763 : 8213084: Rework and enhance Print[Opto]Assembly output
Reviewed-by:
@@ -1,7 +1,7 @@
//
-// Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
+// Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved.
// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
//
// This code is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License version 2 only, as
// published by the Free Software Foundation.
@@ -1293,11 +1293,12 @@
}
#ifndef PRODUCT
ATTRIBUTE_PRINTF(2, 3)
static void print_helper(outputStream* st, const char* format, ...) {
- if (st->position() > 0) {
+ const int tab_size = 8;
+ if (st->position() > tab_size) {
st->cr();
st->sp();
}
va_list ap;
va_start(ap, format);
< prev index next >