Explorar o código

* return nil in get_caller_addr, get_caller_frame an sptr

git-svn-id: branches/wasm@48374 -
nickysn %!s(int64=4) %!d(string=hai) anos
pai
achega
8c33dc4692
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      rtl/wasm32/wasm32.inc

+ 3 - 0
rtl/wasm32/wasm32.inc

@@ -23,18 +23,21 @@ procedure fpc_cpuinit;
 {$define FPC_SYSTEM_HAS_GET_CALLER_ADDR}
 function get_caller_addr(framebp:pointer;addr:pointer=nil):pointer;
   begin
+    result:=nil;
   end;
 
 
 {$define FPC_SYSTEM_HAS_GET_CALLER_FRAME}
 function get_caller_frame(framebp:pointer;addr:pointer=nil):pointer;
   begin
+    result:=nil;
   end;
 
 
 {$define FPC_SYSTEM_HAS_SPTR}
 function Sptr : pointer;
   begin
+    result:=nil;
   end;