зеркало из https://github.com/mozilla/gecko-dev.git
bug=424750 Patch from Alfred Peng to make dtrace code compilable again after my changes from bug 424376. r=myself, not a part of the default browser configuration.
This commit is contained in:
Родитель
435f3e0bc6
Коммит
2f0080e7ba
|
@ -54,13 +54,13 @@ static char dempty[] = "<null>";
|
|||
char *
|
||||
jsdtrace_funcclass_name(JSFunction *fun)
|
||||
{
|
||||
JSNativeFunction *nfun;
|
||||
JSClass *clasp;
|
||||
|
||||
if (FUN_IS_SCRIPTED(fun))
|
||||
return dempty;
|
||||
|
||||
nfun = FUN_TO_NATIVE(fun);
|
||||
return nfun->clasp ? (char *) nfun->clasp->name : dempty;
|
||||
clasp = NATIVE_FUN_GET_CLASS(FUN_TO_NATIVE(fun));
|
||||
return clasp ? (char *) clasp->name : dempty;
|
||||
}
|
||||
|
||||
char *
|
||||
|
|
Загрузка…
Ссылка в новой задаче