Skip to content

Commit

Permalink
Addition of constructors to the virtual function table.
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Bandur committed Oct 25, 2016
1 parent d72e400 commit 6f7c670
Showing 1 changed file with 5 additions and 2 deletions.
Expand Up @@ -137,8 +137,11 @@ public static void generateLevel2(List<IRStatus<AClassHeaderDeclIR>> headers)

static boolean excludeFromVtable(AMethodDeclIR m)
{
return m.getIsConstructor()
|| m.getTag() instanceof Vdm2cTag
// return m.getIsConstructor()
// || m.getTag() instanceof Vdm2cTag
// && ((Vdm2cTag) m.getTag()).methodTags.contains(Vdm2cTag.MethodTag.Internal);

return m.getTag() instanceof Vdm2cTag
&& ((Vdm2cTag) m.getTag()).methodTags.contains(Vdm2cTag.MethodTag.Internal);
}

Expand Down

0 comments on commit 6f7c670

Please sign in to comment.