Bug 1753709 - Remove unused DelazificationOption. r=arai

Differential Revision: https://phabricator.services.mozilla.com/D138339
This commit is contained in:
Nicolas B. Pierron 2022-02-21 17:26:03 +00:00
Родитель d7fbdbb744
Коммит d6e0c74306
2 изменённых файлов: 0 добавлений и 23 удалений

Просмотреть файл

@ -82,18 +82,6 @@ enum class AsmJSOption : uint8_t {
*/ \
_(ConcurrentDepthFirst) \
\
/* \
* Delazify functions in a breath first traversal of the code. (not \
* implemented yet) \
*/ \
_(ConcurrentBreathFirst) \
\
/* \
* Delazify functions based on the frequency of names across all scripts \
* pending for delazifications. (not implemented yet) \
*/ \
_(ConcurrentMostFrequentNameFirst) \
\
/* \
* Parse everything eagerly, from the first parse. \
* \

Просмотреть файл

@ -931,17 +931,6 @@ bool DelazifyTask::init(
// inner functions before the siblings functions.
strategy = cx->make_unique<DepthFirstDelazification>();
break;
case JS::DelazificationOption::ConcurrentBreathFirst:
// ConcurrentDepthFirst visit all functions to be delazified, visiting the
// siblings functions before the inner functions.
MOZ_CRASH("Strategy is not yet implemented");
break;
case JS::DelazificationOption::ConcurrentMostFrequentNameFirst:
// ConcurrentMostFrequentNameFirst uses the frequency of names to
// determine the order in which functions should be delazified. Unamed
// functions are delazified first.
MOZ_CRASH("Strategy is not yet implemented");
break;
case JS::DelazificationOption::ParseEverythingEagerly:
// ParseEverythingEagerly parse all functions eagerly, thus leaving no
// functions to be parsed on demand.