зеркало из https://github.com/mozilla/pjs.git
Fix for bug 488561 (Typo in dom_quickstubs.qsconf). r=bent, sr=mrbkap.
--HG-- extra : rebase_source : f1647690e279aea0134fbe0915fe81ca5a238b21
This commit is contained in:
Родитель
d13a82e23e
Коммит
22491a2319
|
@ -915,7 +915,7 @@ traceableArgumentConversionTemplates = {
|
|||
|
||||
def writeTraceableArgumentConversion(f, member, i, name, type, haveCcx,
|
||||
rvdeclared):
|
||||
argVal = "arg%d" % i
|
||||
argVal = "_arg%d" % i
|
||||
argPtr = "&" + argVal
|
||||
|
||||
params = {
|
||||
|
@ -1041,7 +1041,7 @@ def writeTraceableQuickStub(f, customMethodCalls, member, stubName):
|
|||
traceInfo["params"].append("CALLEE")
|
||||
for i, param in enumerate(member.params):
|
||||
type = getBuiltinOrNativeTypeName(param.realtype)
|
||||
f.write(", %sarg%d" % (getTraceType(type), i))
|
||||
f.write(", %s_arg%d" % (getTraceType(type), i))
|
||||
traceInfo["params"].append(getTraceInfoType(type))
|
||||
f.write(")\n{\n");
|
||||
f.write(" XPC_QS_ASSERT_CONTEXT_OK(cx);\n")
|
||||
|
@ -1072,7 +1072,7 @@ def writeTraceableQuickStub(f, customMethodCalls, member, stubName):
|
|||
for i, param in enumerate(member.params):
|
||||
validateParam(member, param)
|
||||
type = unaliasType(param.realtype)
|
||||
argName = "_arg%d" % i
|
||||
argName = "arg%d" % i
|
||||
rvdeclared = writeTraceableArgumentConversion(f, member, i, argName,
|
||||
param.realtype,
|
||||
haveCcx, rvdeclared)
|
||||
|
|
Загрузка…
Ссылка в новой задаче