From 0caa348040355b843263b26bd64e24f896b81891 Mon Sep 17 00:00:00 2001 From: "fur%netscape.com" Date: Fri, 26 Feb 1999 08:39:24 +0000 Subject: [PATCH] Improve comment --- ef/Runtime/System/StackWalker.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ef/Runtime/System/StackWalker.cpp b/ef/Runtime/System/StackWalker.cpp index 755f3e1723dd..8492638bbbec 100644 --- a/ef/Runtime/System/StackWalker.cpp +++ b/ef/Runtime/System/StackWalker.cpp @@ -85,8 +85,11 @@ getStackDepth() // getCallingJavaMethod // -// Move the cursor of this frame to the closest Java frame and -// return the method corresponding to that frame +// Identify caller stack frames that correspond to non-native Java methods. +// Use the climbDepth argument to determine how many such stack frames +// should be skipped over and return the method corresponding to the final +// such frame, e.g. a climbDepth of 1 means that we should return the +// immediate enclosing non-native Java calling method. Method &Frame::getCallingJavaMethod(int climbDepth) { Method *m;