< prev index next >

src/share/vm/opto/multnode.cpp

Print this page

        

*** 30,39 **** --- 30,40 ---- #include "opto/multnode.hpp" #include "opto/opcodes.hpp" #include "opto/phaseX.hpp" #include "opto/regmask.hpp" #include "opto/type.hpp" + #include "utilities/vmError.hpp" //============================================================================= //------------------------------MultiNode-------------------------------------- const RegMask &MultiNode::out_RegMask() const { return RegMask::Empty;
*** 104,114 **** // in(0) might be a narrow MemBar; otherwise we will report TypePtr::BOTTOM Node* ctrl = in(0); if (ctrl == NULL) return NULL; // node is dead const TypePtr* adr_type = ctrl->adr_type(); #ifdef ASSERT ! if (!is_error_reported() && !Node::in_dump()) assert(adr_type != NULL, "source must have adr_type"); #endif return adr_type; } assert(bottom_type()->base() != Type::Memory, "no other memories?"); --- 105,115 ---- // in(0) might be a narrow MemBar; otherwise we will report TypePtr::BOTTOM Node* ctrl = in(0); if (ctrl == NULL) return NULL; // node is dead const TypePtr* adr_type = ctrl->adr_type(); #ifdef ASSERT ! if (!VMError::is_error_reported() && !Node::in_dump()) assert(adr_type != NULL, "source must have adr_type"); #endif return adr_type; } assert(bottom_type()->base() != Type::Memory, "no other memories?");
< prev index next >