X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=wrappers%2Ftrace.py;h=61a2cb95fcf8249c13719464a36bee5891f8f76a;hb=48c661ea6c0f2bd9b76a3385cd946b7d07bc9b5f;hp=de020869db76089b3abc2caefbbb7e0139fc736a;hpb=4b466a99ddcae810ea4791f4c2415771bfca8627;p=apitrace diff --git a/wrappers/trace.py b/wrappers/trace.py index de02086..61a2cb9 100644 --- a/wrappers/trace.py +++ b/wrappers/trace.py @@ -493,6 +493,8 @@ class Tracer: for arg in function.args: if not arg.output: self.unwrapArg(function, arg) + for arg in function.args: + if not arg.output: self.serializeArg(function, arg) print ' trace::localWriter.endEnter();' self.invokeFunction(function) @@ -564,9 +566,6 @@ class Tracer: def wrapRet(self, function, instance): self.wrapValue(function.type, instance) - def unwrapRet(self, function, instance): - self.unwrapValue(function.type, instance) - def needsWrapping(self, type): visitor = WrapDecider() visitor.visit(type) @@ -697,6 +696,8 @@ class Tracer: for arg in method.args: if not arg.output: self.unwrapArg(method, arg) + for arg in method.args: + if not arg.output: self.serializeArg(method, arg) print ' trace::localWriter.endEnter();'