| OLD | NEW |
| 1 //===- subzero/src/IceBrowserCompileServer.cpp - Browser compile server ---===// | 1 //===- subzero/src/IceBrowserCompileServer.cpp - Browser compile server ---===// |
| 2 // | 2 // |
| 3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 /// | 9 /// |
| 10 /// \file | 10 /// \file |
| 11 /// This file defines the browser-based compile server. | 11 /// \brief Defines the browser-based compile server. |
| 12 /// | 12 /// |
| 13 //===----------------------------------------------------------------------===// | 13 //===----------------------------------------------------------------------===// |
| 14 | 14 |
| 15 // Can only compile this with the NaCl compiler (needs irt.h, and the | 15 // Can only compile this with the NaCl compiler (needs irt.h, and the |
| 16 // unsandboxed LLVM build using the trusted compiler does not have irt.h). | 16 // unsandboxed LLVM build using the trusted compiler does not have irt.h). |
| 17 #if PNACL_BROWSER_TRANSLATOR | 17 #if PNACL_BROWSER_TRANSLATOR |
| 18 | 18 |
| 19 #include "IceBrowserCompileServer.h" | 19 #include "IceBrowserCompileServer.h" |
| 20 #include "llvm/Support/QueueStreamer.h" | 20 #include "llvm/Support/QueueStreamer.h" |
| 21 | 21 |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 this->getCompiler().run(ExtraFlags, *Ctx.get(), | 189 this->getCompiler().run(ExtraFlags, *Ctx.get(), |
| 190 // Retain original reference, but the compiler | 190 // Retain original reference, but the compiler |
| 191 // (LLVM's MemoryObject) wants to handle deletion. | 191 // (LLVM's MemoryObject) wants to handle deletion. |
| 192 std::unique_ptr<llvm::DataStreamer>(InputStream)); | 192 std::unique_ptr<llvm::DataStreamer>(InputStream)); |
| 193 }); | 193 }); |
| 194 } | 194 } |
| 195 | 195 |
| 196 } // end of namespace Ice | 196 } // end of namespace Ice |
| 197 | 197 |
| 198 #endif // PNACL_BROWSER_TRANSLATOR | 198 #endif // PNACL_BROWSER_TRANSLATOR |
| OLD | NEW |