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:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user