c1_InstructionPrinter.cpp revision 2459
6330N/A * or visit www.oracle.com if you need additional information or have any
6330N/A#include "precompiled.hpp"
6330N/A#include "c1/c1_InstructionPrinter.hpp"
6330N/A#include "c1/c1_ValueStack.hpp"
0N/A#include "ci/ciArray.hpp"
6331N/A#include "ci/ciInstance.hpp"
6330N/A#include "ci/ciObject.hpp"
6330N/A output()->print("<array " PTR_FORMAT ">", type->as_ArrayConstant()->value()->constant_encoding());
6302N/A print_value(t);
6302N/A print_value(v);
6302N/A print_alias(v);
6330N/A if (x->is_illegal())
6330N/A case longTag : output()->print(os::jlong_format_specifier(), t->as_LongConstant()->value()); output()->print("L"); break;
6330N/A print_field(x);
6331N/A print_field(x);
6330N/A print_indexed(x);
6330N/A print_indexed(x);
6330N/A print_value(x->x());
6330N/A print_value(x->x());
6330N/A print_value(x->y());
6410N/A for (int i = 0; i < x->number_of_arguments(); i++) {
6330N/A print_monitor(x);
6330N/A print_monitor(x);
6330N/A for (int i = 0; i < x->number_of_arguments(); i++) {
6330N/A bool printed_flag = false;
6330N/A if (x->number_of_exception_handlers() > 0) {
6330N/A for (int i = 0; i < x->number_of_exception_handlers(); i++) {
6330N/A if (x->number_of_preds() > 0) {
6330N/A for (int i = 0; i < x->number_of_preds(); i ++) {
6330N/A if (!_print_phis) {
6330N/A bool has_phis_in_locals = false;
6330N/A bool has_phis_on_stack = false;
6330N/A if (has_phis_in_locals) {
6330N/A if (has_phis_on_stack) {
6330N/A print_value(x->x());
3381N/A print_value(x->y());
6330N/A output()->print(" %s.%s", x->method()->holder()->name()->as_utf8(), x->method()->name()->as_utf8());
6330N/A output()->print(" %s.%s", x->inlinee()->holder()->name()->as_utf8(), x->inlinee()->name()->as_utf8());
6330N/A for (int i = 0; i < x->number_of_arguments(); i++) {