コード例 #1
0
 def function(self):
     if self.info["name"] is None:
         return FrameDecorator.function(self)
     name = self.info["name"]
     result = "<<" + name
     # If we have a frame, we can extract the callee information
     # from it for display here.
     this_frame = self.info["this_frame"]
     if this_frame is not None:
         if gdb.types.has_field(this_frame.type.target(), "calleeToken_"):
             function = self._decode_jitframe(this_frame)["function"]
             if function is not None:
                 result = result + " " + function
     return result + ">>"
コード例 #2
0
ファイル: unwind.py プロジェクト: servo/mozjs
 def function(self):
     if self.info["name"] is None:
         return FrameDecorator.function(self)
     name = self.info["name"]
     result = "<<" + name
     # If we have a frame, we can extract the callee information
     # from it for display here.
     this_frame = self.info["this_frame"]
     if this_frame is not None:
         if gdb.types.has_field(this_frame.type.target(), "calleeToken_"):
             function = self._decode_jitframe(this_frame)["function"]
             if function is not None:
                 result = result + " " + function
     return result + ">>"
コード例 #3
0
ファイル: unwind.py プロジェクト: ekr/gecko-dev
 def function(self):
     if "name" in self.info:
         return "<<" + self.info["name"] + ">>"
     return FrameDecorator.function(self)
コード例 #4
0
ファイル: unwind.py プロジェクト: steveck-chung/gecko-dev
 def function(self):
     if "name" in self.info:
         return "<<" + self.info["name"] + ">>"
     return FrameDecorator.function(self)