Closed Bug 1619065 Opened 5 years ago Closed 5 years ago

Can't build shell with disable-binast because CompilationInfo isn't declared

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1619068
Tracking Status
firefox75 --- fixed

People

(Reporter: anba, Unassigned)

References

Details

using js::frontend::CompilationInfo; is behind a #if defined(JS_BUILD_BINAST) guard, so when compiling with --disable-binast, CompilationInfo isn't declared, which leads to build errors when used in FullParseTest.

In file included from Unified_cpp_js_src_shell0.cpp:11:
/home/andre/git/mozilla-central/js/src/shell/js.cpp:5462:27: error: unknown type name 'CompilationInfo'; did you mean 'js::frontend::CompilationInfo'?
                          CompilationInfo& compilationInfo,
                          ^~~~~~~~~~~~~~~
                          js::frontend::CompilationInfo
/home/andre/git/mozilla-central/js/src/frontend/CompilationInfo.h:30:17: note: 'js::frontend::CompilationInfo' declared here
struct MOZ_RAII CompilationInfo {
                ^
1 error generated.

will fix in bug 1619068

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.