From 875e67644146b17271c2c1e8626e166cb0cf87dd Mon Sep 17 00:00:00 2001 From: nickysn Date: Wed, 31 Jul 2013 15:10:46 +0000 Subject: [PATCH] * use Create_nil_dataptr in objectdef_rtti_class_full() when writing the current vmt address for objects that have no vmt git-svn-id: trunk@25200 - --- compiler/ncgrtti.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/ncgrtti.pas b/compiler/ncgrtti.pas index f3d29999d9..a100f54f24 100644 --- a/compiler/ncgrtti.pas +++ b/compiler/ncgrtti.pas @@ -859,7 +859,7 @@ implementation if (oo_has_vmt in def.objectoptions) then current_asmdata.asmlists[al_rtti].concat(Tai_const.Createname(def.vmt_mangledname,0)) else - current_asmdata.asmlists[al_rtti].concat(Tai_const.create_sym(nil)); + current_asmdata.asmlists[al_rtti].concat(Tai_const.Create_nil_dataptr); { write parent typeinfo } write_rtti_reference(def.childof,fullrtti);