Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: include/llvm/CodeGen/LinkAllCodegenComponents.h

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: include/llvm/CodeGen/LinkAllCodegenComponents.h
diff --git a/include/llvm/CodeGen/LinkAllCodegenComponents.h b/include/llvm/CodeGen/LinkAllCodegenComponents.h
index 372c294da30616f08b467b4a7a13cc21e0cbec81..86bc5dcb06e90baf3698e6dae4b568f68fa8cb64 100644
--- a/include/llvm/CodeGen/LinkAllCodegenComponents.h
+++ b/include/llvm/CodeGen/LinkAllCodegenComponents.h
@@ -34,7 +34,10 @@ namespace {
(void) llvm::createFastRegisterAllocator();
(void) llvm::createBasicRegisterAllocator();
(void) llvm::createGreedyRegisterAllocator();
+#if !defined(__native_client__)
+ // Not needed by sandboxed translator.
(void) llvm::createDefaultPBQPRegisterAllocator();
+#endif
llvm::linkOcamlGC();
llvm::linkErlangGC();

Powered by Google App Engine
This is Rietveld 408576698