mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Add proper values for prototype depth and ID to JIT info.
This commit is contained in:
parent
96d9c6402d
commit
236f47b0a9
1 changed files with 2 additions and 2 deletions
|
@ -1738,8 +1738,8 @@ class CGMemberJITInfo(CGThing):
|
|||
return ""
|
||||
|
||||
def defineJitInfo(self, infoName, opName, infallible):
|
||||
protoID = 0 # "prototypes::id::%s" % self.descriptor.name
|
||||
depth = 0 # "PrototypeTraits<%s>::Depth" % protoID
|
||||
protoID = "prototypes::id::%s as uint" % self.descriptor.name
|
||||
depth = self.descriptor.interface.inheritanceDepth()
|
||||
failstr = "true" if infallible else "false"
|
||||
return ("\n"
|
||||
"const %s: JSJitInfo = JSJitInfo {\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue