зеркало из https://github.com/mozilla/gecko-dev.git
Bug 711563 - compact function specs; r=jorendorff
This commit is contained in:
Родитель
e2461c3d0f
Коммит
5373c9546d
|
@ -59,8 +59,8 @@ struct xpc_qsPropertySpec {
|
|||
|
||||
struct xpc_qsFunctionSpec {
|
||||
uint16_t name_index;
|
||||
uint16_t arity;
|
||||
JSNative native;
|
||||
uintN arity;
|
||||
};
|
||||
|
||||
/** A table mapping interfaces to quick stubs. */
|
||||
|
|
|
@ -1107,8 +1107,8 @@ def writeMethodStub(f, customMethodCalls, stringtable, method):
|
|||
stubName = method.iface.name + '_' + header.methodNativeName(method)
|
||||
if not custom:
|
||||
writeQuickStub(f, customMethodCalls, method, stubName)
|
||||
fs = '{%d, %s, %d}' % (stringtable.stringIndex(method.name),
|
||||
stubName, len(method.params))
|
||||
fs = '{%d, %d, %s}' % (stringtable.stringIndex(method.name),
|
||||
len(method.params), stubName)
|
||||
return fs
|
||||
|
||||
def writeStubsForInterface(f, customMethodCalls, stringtable, iface):
|
||||
|
|
Загрузка…
Ссылка в новой задаче