From 0bdd9db7a2ffe00ca4234460f01b22ced474a5b9 Mon Sep 17 00:00:00 2001 From: nickysn Date: Tue, 30 Jul 2013 23:04:25 +0000 Subject: [PATCH] * terminate the list of virtual method pointers in the vmt with Tai_const.Create_nil_codeptr git-svn-id: trunk@25193 - --- compiler/ncgvmt.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/ncgvmt.pas b/compiler/ncgvmt.pas index a888ced91f..ec8fa203ef 100644 --- a/compiler/ncgvmt.pas +++ b/compiler/ncgvmt.pas @@ -859,7 +859,7 @@ implementation end; { write virtual methods } writevirtualmethods(current_asmdata.asmlists[al_globals]); - current_asmdata.asmlists[al_globals].concat(Tai_const.create(aitconst_ptr,0)); + current_asmdata.asmlists[al_globals].concat(Tai_const.Create_nil_codeptr); { write the size of the VMT } current_asmdata.asmlists[al_globals].concat(Tai_symbol_end.Createname(_class.vmt_mangledname)); {$ifdef vtentry}