| Index: ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h
|
| diff --git a/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h b/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h
|
| index e38cbc07869b3c8ff197bb37a8875edb478758c1..33c7ad30aa7b4900d4633a5170a070008dd660d0 100644
|
| --- a/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h
|
| +++ b/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h
|
| @@ -77,6 +77,9 @@ class TempFile;
|
| // Complete when NexeReadDidOpen is invoked.
|
| class PnaclCoordinator: public CallbackSource<FileStreamData> {
|
| public:
|
| + // Maximum number of object files passable to the translator. Cannot be
|
| + // changed without changing the RPC signatures.
|
| + const static size_t kMaxTranslatorObjectFiles = 16;
|
| virtual ~PnaclCoordinator();
|
|
|
| // The factory method for translations.
|
| @@ -202,7 +205,11 @@ class PnaclCoordinator: public CallbackSource<FileStreamData> {
|
| PnaclOptions pnacl_options_;
|
|
|
| // Object file, produced by the translator and consumed by the linker.
|
| - nacl::scoped_ptr<TempFile> obj_file_;
|
| + std::vector<TempFile*> obj_files_;
|
| + // Number of split modules (threads) for llc
|
| + int split_module_count_;
|
| + int num_object_files_opened_;
|
| +
|
| // Translated nexe file, produced by the linker.
|
| nacl::scoped_ptr<TempFile> temp_nexe_file_;
|
| // Passed to the browser, which sets it to true if there is a translation
|
|
|