Explorar o código

* get_caller_stackinfo: set framebp to nil if addr is nil

git-svn-id: trunk@21708 -
pierre %!s(int64=13) %!d(string=hai) anos
pai
achega
48597c64ee
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      rtl/mips/mips.inc

+ 5 - 0
rtl/mips/mips.inc

@@ -95,6 +95,11 @@ begin
     go back to lower $ra values until we find a
     position with ADDIU $sp,$sp,-LocalSize
   }
+  if addr=nil then
+    begin
+	  framebp:=nil;
+	  exit;
+	end;
   Try
     current_ra:=addr;
     ra_offset:=-1;