8182848: Some functions misplaced in debug.hpp

Moved to vmError.hpp,cpp where they seemed more appropriate

Reviewed-by: stefank, stuefe
This commit is contained in:
Coleen Phillimore 2017-06-28 19:12:58 -04:00
parent f2b191c2a1
commit 7225e6008d
40 changed files with 246 additions and 466 deletions

View file

@ -59,6 +59,7 @@
#include "runtime/sharedRuntime.hpp"
#include "runtime/signature.hpp"
#include "utilities/quickSort.hpp"
#include "utilities/vmError.hpp"
#include "utilities/xmlstream.hpp"
// Implementation of Method
@ -242,7 +243,7 @@ int Method::bci_from(address bcp) const {
#ifdef ASSERT
{
ResourceMark rm;
assert(is_native() && bcp == code_base() || contains(bcp) || is_error_reported(),
assert(is_native() && bcp == code_base() || contains(bcp) || VMError::is_error_reported(),
"bcp doesn't belong to this method: bcp: " INTPTR_FORMAT ", method: %s",
p2i(bcp), name_and_sig_as_C_string());
}