hotspot/src/cpu/zero/vm/frame_zero.inline.hpp
changeset 35214 d86005e0b4c2
parent 26142 038e0f01b4a9
child 38074 8475fdc6dcc3
child 38133 78b95467b9f1
--- a/hotspot/src/cpu/zero/vm/frame_zero.inline.hpp	Tue Dec 22 11:03:37 2015 +0100
+++ b/hotspot/src/cpu/zero/vm/frame_zero.inline.hpp	Tue Dec 22 11:11:29 2015 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
  * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
@@ -122,6 +122,11 @@
 inline intptr_t* frame::interpreter_frame_tos_address() const {
   return get_interpreterState()->_stack + 1;
 }
+
+inline oop* frame::interpreter_frame_temp_oop_addr() const {
+  interpreterState istate = get_interpreterState();
+  return (oop *)&istate->_oop_temp;
+}
 #endif // CC_INTERP
 
 inline int frame::interpreter_frame_monitor_size() {