Jelajahi Sumber

* get_caller_stackinfo: set framebp to nil if addr is nil

git-svn-id: trunk@21708 -
pierre 13 tahun lalu
induk
melakukan
48597c64ee
1 mengubah file dengan 5 tambahan dan 0 penghapusan
  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;