зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1753709 - Remove unused DelazificationOption. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D138339
This commit is contained in:
Родитель
d7fbdbb744
Коммит
d6e0c74306
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче