diff src/share/vm/opto/machnode.cpp @ 3839:3d42f82cd811

7063628: Use cbcond on T4 Summary: Add new short branch instruction to Hotspot sparc assembler. Reviewed-by: never, twisti, jrose
author kvn
date Thu, 21 Jul 2011 11:25:07 -0700
parents 2f644f85485d
children 11211f7cb5a0
line wrap: on
line diff
--- a/src/share/vm/opto/machnode.cpp	Thu Jul 21 08:38:25 2011 -0700
+++ b/src/share/vm/opto/machnode.cpp	Thu Jul 21 11:25:07 2011 -0700
@@ -409,7 +409,7 @@
 
 //------------------------------label_set--------------------------------------
 // Set the Label for a LabelOper, if an operand for this instruction
-void MachNode::label_set( Label& label, uint block_num ) {
+void MachNode::label_set( Label* label, uint block_num ) {
   ShouldNotCallThis();
 }
 
@@ -514,6 +514,9 @@
 void MachNullCheckNode::emit(CodeBuffer &cbuf, PhaseRegAlloc *ra_) const {
   // only emits entries in the null-pointer exception handler table
 }
+void MachNullCheckNode::label_set(Label* label, uint block_num) {
+  // Nothing to emit
+}
 
 const RegMask &MachNullCheckNode::in_RegMask( uint idx ) const {
   if( idx == 0 ) return RegMask::Empty;