< prev index next >

src/share/vm/opto/machnode.cpp

Print this page

        

*** 24,33 **** --- 24,34 ---- #include "precompiled.hpp" #include "gc/shared/collectedHeap.hpp" #include "opto/machnode.hpp" #include "opto/regalloc.hpp" + #include "utilities/vmError.hpp" //============================================================================= // Return the value requested // result register lookup, corresponding to int_format int MachOper::reg(PhaseRegAlloc *ra_, const Node *node) const {
*** 585,595 **** // 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?"); --- 586,596 ---- // 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 >