src/hotspot/share/code/nmethod.hpp
changeset 52411 35ebea32a23c
parent 52385 5c679ec60888
child 52659 8b26bd8b1832
--- a/src/hotspot/share/code/nmethod.hpp	Mon Nov 05 12:36:23 2018 +0100
+++ b/src/hotspot/share/code/nmethod.hpp	Mon Nov 05 12:36:23 2018 +0100
@@ -365,7 +365,7 @@
 
   // Support for oops in scopes and relocs:
   // Note: index 0 is reserved for null.
-  oop   oop_at(int index) const                   { return index == 0 ? (oop) NULL: *oop_addr_at(index); }
+  oop   oop_at(int index) const;
   oop*  oop_addr_at(int index) const {  // for GC
     // relocation indexes are biased by 1 (because 0 is reserved)
     assert(index > 0 && index <= oops_count(), "must be a valid non-zero index");