Bug 1014384: Fix 'IPDL code generator generates implementation stubs for pure virtual methods'. r=bent

This commit is contained in:
Josh Aas 2014-05-29 00:45:36 -05:00
parent 085314c510
commit 19b6310951
2 changed files with 3 additions and 1 deletions

View File

@ -217,6 +217,9 @@ class CxxCodeGen(CodePrinter, Visitor):
def visitMethodDefn(self, md):
if md.decl.pure:
return
self.printdent()
md.decl.accept(self)
self.println()

View File

@ -5460,7 +5460,6 @@ def _splitMethodDefn(md, clsname):
md.decl.static = 0
md.decl.warn_unused = 0
md.decl.never_inline = 0
md.decl.pure = 0
md.decl.only_for_definition = True
for param in md.decl.params:
if isinstance(param, Param):