Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
3838:6a991dcb52bb | 3839:3d42f82cd811 |
---|---|
407 ShouldNotCallThis(); | 407 ShouldNotCallThis(); |
408 } | 408 } |
409 | 409 |
410 //------------------------------label_set-------------------------------------- | 410 //------------------------------label_set-------------------------------------- |
411 // Set the Label for a LabelOper, if an operand for this instruction | 411 // Set the Label for a LabelOper, if an operand for this instruction |
412 void MachNode::label_set( Label& label, uint block_num ) { | 412 void MachNode::label_set( Label* label, uint block_num ) { |
413 ShouldNotCallThis(); | 413 ShouldNotCallThis(); |
414 } | 414 } |
415 | 415 |
416 //------------------------------method_set------------------------------------- | 416 //------------------------------method_set------------------------------------- |
417 // Set the absolute address of a method | 417 // Set the absolute address of a method |
511 } | 511 } |
512 #endif | 512 #endif |
513 | 513 |
514 void MachNullCheckNode::emit(CodeBuffer &cbuf, PhaseRegAlloc *ra_) const { | 514 void MachNullCheckNode::emit(CodeBuffer &cbuf, PhaseRegAlloc *ra_) const { |
515 // only emits entries in the null-pointer exception handler table | 515 // only emits entries in the null-pointer exception handler table |
516 } | |
517 void MachNullCheckNode::label_set(Label* label, uint block_num) { | |
518 // Nothing to emit | |
516 } | 519 } |
517 | 520 |
518 const RegMask &MachNullCheckNode::in_RegMask( uint idx ) const { | 521 const RegMask &MachNullCheckNode::in_RegMask( uint idx ) const { |
519 if( idx == 0 ) return RegMask::Empty; | 522 if( idx == 0 ) return RegMask::Empty; |
520 else return in(1)->as_Mach()->out_RegMask(); | 523 else return in(1)->as_Mach()->out_RegMask(); |