--- old/src/share/vm/opto/machnode.cpp 2017-06-28 09:42:30.265848547 -0400 +++ new/src/share/vm/opto/machnode.cpp 2017-06-28 09:42:30.016583486 -0400 @@ -26,6 +26,7 @@ #include "gc/shared/collectedHeap.hpp" #include "opto/machnode.hpp" #include "opto/regalloc.hpp" +#include "utilities/vmError.hpp" //============================================================================= // Return the value requested @@ -587,7 +588,7 @@ if (ctrl == NULL) return NULL; // node is dead const TypePtr* adr_type = ctrl->adr_type(); #ifdef ASSERT - if (!is_error_reported() && !Node::in_dump()) + if (!VMError::is_error_reported() && !Node::in_dump()) assert(adr_type != NULL, "source must have adr_type"); #endif return adr_type;