зеркало из https://github.com/mozilla/gecko-dev.git
warnings on Linux
This commit is contained in:
Родитель
97c6f17dfa
Коммит
846e79c959
|
@ -454,7 +454,7 @@ JSValue Context::interpret(ICodeModule* iCode, const JSValues& args)
|
|||
break;
|
||||
case WITHOUT:
|
||||
{
|
||||
Without* without = static_cast<Without*>(instruction);
|
||||
// Without* without = static_cast<Without*>(instruction);
|
||||
mGlobal = mGlobal->getParent();
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -51,6 +51,8 @@ int JSValue::operator==(const JSValue& value) const
|
|||
CASE(i64); CASE(u64); CASE(f64);
|
||||
CASE(object); CASE(array); CASE(function);
|
||||
#undef CASE
|
||||
// question: are all undefined values equal to one another?
|
||||
case undefined_tag: return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
|
|
@ -454,7 +454,7 @@ JSValue Context::interpret(ICodeModule* iCode, const JSValues& args)
|
|||
break;
|
||||
case WITHOUT:
|
||||
{
|
||||
Without* without = static_cast<Without*>(instruction);
|
||||
// Without* without = static_cast<Without*>(instruction);
|
||||
mGlobal = mGlobal->getParent();
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -51,6 +51,8 @@ int JSValue::operator==(const JSValue& value) const
|
|||
CASE(i64); CASE(u64); CASE(f64);
|
||||
CASE(object); CASE(array); CASE(function);
|
||||
#undef CASE
|
||||
// question: are all undefined values equal to one another?
|
||||
case undefined_tag: return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
|
Загрузка…
Ссылка в новой задаче