hotspot/src/share/vm/interpreter/bytecodeInterpreter.inline.hpp
changeset 46968 9119841280f4
parent 40010 e32d5e545789
equal deleted inserted replaced
46953:39063b484ec2 46968:9119841280f4
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    34 #ifdef CC_INTERP
    34 #ifdef CC_INTERP
    35 
    35 
    36 #ifdef ASSERT
    36 #ifdef ASSERT
    37 #define VERIFY_OOP(o_) \
    37 #define VERIFY_OOP(o_) \
    38       if (VerifyOops) { \
    38       if (VerifyOops) { \
    39         assert((oop(o_))->is_oop_or_null(), "Expected an oop or NULL at " PTR_FORMAT, p2i(oop(o_))); \
    39         assert(oopDesc::is_oop_or_null(oop(o_)), "Expected an oop or NULL at " PTR_FORMAT, p2i(oop(o_))); \
    40         StubRoutines::_verify_oop_count++;  \
    40         StubRoutines::_verify_oop_count++;  \
    41       }
    41       }
    42 #else
    42 #else
    43 #define VERIFY_OOP(o)
    43 #define VERIFY_OOP(o)
    44 #endif
    44 #endif