harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r600512 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/stack/stack_dump.cpp
Date Mon, 03 Dec 2007 12:58:10 GMT
Author: varlax
Date: Mon Dec  3 04:58:09 2007
New Revision: 600512

URL: http://svn.apache.org/viewvc?rev=600512&view=rev
Log:
Fixed inlined frames dump

Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/stack/stack_dump.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/stack/stack_dump.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/stack/stack_dump.cpp?rev=600512&r1=600511&r2=600512&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/stack/stack_dump.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/stack/stack_dump.cpp Mon Dec  3 04:58:09 2007
@@ -309,7 +309,8 @@
                 (POINTER_SIZE_INT)cci->get_code_block_addr());
             bool is_ip_past = (frame_num != 0);
 
-            for (uint32 i = 0; i < inlined_depth; i++)
+            if (inlined_depth) {
+            for (uint32 i = inlined_depth; i > 0; i--)
             {
                 Method* inl_method = cci->get_jit()->get_inlined_method(
                                             cci->get_inline_info(), offset, i);
@@ -319,6 +320,7 @@
 
                 if (frame_num < num_frames)
                     ++frame_num; // Go to the next native frame
+            }
             }
 
             st_get_java_method_info(&m, method, ip, is_ip_past, -1);



Mime
View raw message