From 48597c64ee8150517889c2aeef6b60ff77d2c79c Mon Sep 17 00:00:00 2001 From: pierre Date: Mon, 25 Jun 2012 22:43:08 +0000 Subject: [PATCH] * get_caller_stackinfo: set framebp to nil if addr is nil git-svn-id: trunk@21708 - --- rtl/mips/mips.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rtl/mips/mips.inc b/rtl/mips/mips.inc index b7f805810c..7e0f035b5e 100644 --- a/rtl/mips/mips.inc +++ b/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;