< prev index next >
src/hotspot/share/c1/c1_InstructionPrinter.cpp
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2018, 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,10 +26,11 @@
#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,10 +43,11 @@
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,10 +516,14 @@
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 ");
+ print_klass(x->klass());
+}
void InstructionPrinter::do_NewObjectArray(NewObjectArray* x) {
output()->print("new object array [");
print_value(x->length());
output()->print("] ");
< prev index next >