< prev index next >

src/hotspot/share/c1/c1_InstructionPrinter.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1999, 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) 1999, 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.
*** 26,35 **** --- 26,36 ---- #include "c1/c1_InstructionPrinter.hpp" #include "c1/c1_ValueStack.hpp" #include "ci/ciArray.hpp" #include "ci/ciInstance.hpp" #include "ci/ciObject.hpp" + #include "ci/ciValueKlass.hpp" #ifndef PRODUCT const char* InstructionPrinter::basic_type_name(BasicType type) {
*** 42,51 **** --- 43,53 ---- case T_LONG : return "long"; case T_FLOAT : return "float"; case T_DOUBLE : return "double"; case T_ARRAY : return "array"; case T_OBJECT : return "object"; + case T_VALUETYPE : return "value type"; default : return "???"; } }
*** 514,523 **** --- 516,532 ---- output()->print("new %s array [", basic_type_name(x->elt_type())); print_value(x->length()); output()->put(']'); } + void InstructionPrinter::do_NewValueTypeInstance(NewValueTypeInstance* x) { + output()->print("new value type instance "); + if (x->is_optimizable_for_withfield()) { + output()->print("(optimizable) "); + } + print_klass(x->klass()); + } void InstructionPrinter::do_NewObjectArray(NewObjectArray* x) { output()->print("new object array ["); print_value(x->length()); output()->print("] ");
*** 534,543 **** --- 543,560 ---- } output()->print("] "); print_klass(x->klass()); } + void InstructionPrinter::do_WithField(WithField* x) { + output()->print("withfield"); + } + + void InstructionPrinter::do_DefaultValue(DefaultValue* x) { + output()->print("defaultvalue"); + } + void InstructionPrinter::do_MonitorEnter(MonitorEnter* x) { output()->print("enter "); print_monitor(x); }
< prev index next >