< prev index next >

src/hotspot/cpu/sparc/sparc.ad

Print this page
rev 54960 : 8213084: Rework and enhance Print[Opto]Assembly output
Reviewed-by: kvn, thartmann

*** 1,7 **** // ! // Copyright (c) 1998, 2017, 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. --- 1,7 ---- // ! // 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,1303 **** } #ifndef PRODUCT ATTRIBUTE_PRINTF(2, 3) static void print_helper(outputStream* st, const char* format, ...) { ! if (st->position() > 0) { st->cr(); st->sp(); } va_list ap; va_start(ap, format); --- 1293,1304 ---- } #ifndef PRODUCT ATTRIBUTE_PRINTF(2, 3) static void print_helper(outputStream* st, const char* format, ...) { ! const int tab_size = 8; ! if (st->position() > tab_size) { st->cr(); st->sp(); } va_list ap; va_start(ap, format);
< prev index next >