< prev index next >
src/share/vm/c1/c1_InstructionPrinter.cpp
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
+ * 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.
@@ -57,13 +57,14 @@
case If::leq: return "<=";
case If::gtr: return ">";
case If::geq: return ">=";
case If::aeq: return "|>=|";
case If::beq: return "|<=|";
- }
+ default:
ShouldNotReachHere();
return NULL;
+ }
}
const char* InstructionPrinter::op_name(Bytecodes::Code op) {
switch (op) {
@@ -100,12 +101,12 @@
case Bytecodes::_land : return "&";
case Bytecodes::_ior : // fall through
case Bytecodes::_lor : return "|";
case Bytecodes::_ixor : // fall through
case Bytecodes::_lxor : return "^";
+ default : return Bytecodes::name(op);
}
- return Bytecodes::name(op);
}
bool InstructionPrinter::is_illegal_phi(Value v) {
Phi* phi = v ? v->as_Phi() : NULL;
< prev index next >