mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Bug 1309147 - Part 2: Add the name of 'this' value's JSObject* for codegen to generate CEReaction code.
Tag UXP Issue #1344
This commit is contained in:
parent
39fcec342d
commit
0b774c0ec4
1 changed files with 3 additions and 2 deletions
|
|
@ -7473,7 +7473,7 @@ class CGPerSignatureCall(CGThing):
|
|||
def __init__(self, returnType, arguments, nativeMethodName, static,
|
||||
descriptor, idlNode, argConversionStartsAt=0, getter=False,
|
||||
setter=False, isConstructor=False, useCounterName=None,
|
||||
resultVar=None):
|
||||
resultVar=None, objectName="obj"):
|
||||
assert idlNode.isMethod() == (not getter and not setter)
|
||||
assert idlNode.isAttr() == (getter or setter)
|
||||
# Constructors are always static
|
||||
|
|
@ -11069,7 +11069,8 @@ class CGProxySpecialOperation(CGPerSignatureCall):
|
|||
# CGPerSignatureCall won't do any argument conversion of its own.
|
||||
CGPerSignatureCall.__init__(self, returnType, arguments, nativeName,
|
||||
False, descriptor, operation,
|
||||
len(arguments), resultVar=resultVar)
|
||||
len(arguments), resultVar=resultVar,
|
||||
objectName="proxy")
|
||||
|
||||
if operation.isSetter() or operation.isCreator():
|
||||
# arguments[0] is the index or name of the item that we're setting.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue