Bug 1642708 - Remove code guarded by JS_BUILD_BINAST r=arai

Also remove js/src/frontend/BinAST* sources.

Differential Revision: https://phabricator.services.mozilla.com/D77945
This commit is contained in:
Ted Campbell
2020-06-17 14:26:09 +00:00
parent 5a3d54d57f
commit 75f2ccb107
51 changed files with 5 additions and 22572 deletions

View File

@@ -167,13 +167,7 @@ class ScriptLoadRequest
bool IsUnknownDataType() const { return mDataType == DataType::eUnknown; }
bool IsTextSource() const { return mDataType == DataType::eTextSource; }
bool IsBinASTSource() const {
#ifdef JS_BUILD_BINAST
return mDataType == DataType::eBinASTSource;
#else
return false;
#endif
}
bool IsBinASTSource() const { return false; }
bool IsSource() const { return IsTextSource() || IsBinASTSource(); }
bool IsBytecode() const { return mDataType == DataType::eBytecode; }