| Index: src/IceBrowserCompileServer.cpp
|
| diff --git a/src/IceBrowserCompileServer.cpp b/src/IceBrowserCompileServer.cpp
|
| index b9903bf53b07199f55109253478eddb74de8719c..27b51ca4923bc69e66f3350bf758722733c62344 100644
|
| --- a/src/IceBrowserCompileServer.cpp
|
| +++ b/src/IceBrowserCompileServer.cpp
|
| @@ -14,10 +14,10 @@
|
|
|
| // Can only compile this with the NaCl compiler (needs irt.h, and the
|
| // unsandboxed LLVM build using the trusted compiler does not have irt.h).
|
| -#if PNACL_BROWSER_TRANSLATOR
|
| -
|
| #include "IceBrowserCompileServer.h"
|
|
|
| +#if PNACL_BROWSER_TRANSLATOR
|
| +
|
| // Headers which are not properly part of the SDK are included by their path in
|
| // the NaCl tree.
|
| #ifdef __pnacl__
|
| @@ -230,4 +230,22 @@ void BrowserCompileServer::startCompileThread(int ObjFD) {
|
|
|
| } // end of namespace Ice
|
|
|
| +#else // !PNACL_BROWSER_TRANSLATOR
|
| +
|
| +#include "llvm/Support/ErrorHandling.h"
|
| +
|
| +namespace Ice {
|
| +
|
| +BrowserCompileServer::~BrowserCompileServer() {}
|
| +
|
| +void BrowserCompileServer::run() {
|
| + llvm::report_fatal_error("no browser hookups");
|
| +}
|
| +
|
| +ErrorCode &BrowserCompileServer::getErrorCode() {
|
| + llvm::report_fatal_error("no browser hookups");
|
| +}
|
| +
|
| +} // end of namespace Ice
|
| +
|
| #endif // PNACL_BROWSER_TRANSLATOR
|
|
|