You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ge...@apache.org on 2006/11/03 18:48:53 UTC
svn commit: r470924 -
/incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/cg.h
Author: geirm
Date: Fri Nov 3 09:48:52 2006
New Revision: 470924
URL: http://svn.apache.org/viewvc?view=rev&rev=470924
Log:
HARMONY-1769
[drlvm][jvmti] Unexpected exception in JVMTI mode
Fixes problem shown by test case
Ubuntu 6 - smoke, c-unit, ~kernel
Modified:
incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/cg.h
Modified: incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/cg.h
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/cg.h?view=diff&rev=470924&r1=470923&r2=470924
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/cg.h (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/cg.h Fri Nov 3 09:48:52 2006
@@ -719,6 +719,19 @@
*/
bool vis_stack(const Val& s) const;
/**
+ * @brief Tests whether the operand stack at the given \c depth
+ * is memory <b>and is located in the operand stack area in the stack
+ * frame</b>.
+ * In other words, it's memory and represents neither a local variable,
+ * nor a field, nor any other value stored in memory, but exactly
+ * the operand stack element.
+ */
+ bool vis_stack(unsigned depth) const
+ {
+ return vis_stack(m_jframe->dip(depth));
+ }
+
+ /**
* @brief Returns \b true if the local variable is not stored in the
* method's stack frame, but rather a stack slot of input argument is
* reused.