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

Unified Diff: src/untrusted/irt/irt_interfaces.c

Issue 984713003: Add an IRT interface for subzero/compiler to serve_translate_requests. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: c void Created 5 years, 9 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
« no previous file with comments | « src/untrusted/irt/irt_interfaces.h ('k') | src/untrusted/irt/irt_pnacl_translator.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/irt/irt_interfaces.c
diff --git a/src/untrusted/irt/irt_interfaces.c b/src/untrusted/irt/irt_interfaces.c
index 44a22b6433aaa86da93151b35be29b655d703c78..29fa610b9aa7093d19606b27d039895ee75d14ec 100644
--- a/src/untrusted/irt/irt_interfaces.c
+++ b/src/untrusted/irt/irt_interfaces.c
@@ -135,6 +135,13 @@ static const struct nacl_irt_interface irt_interfaces[] = {
{ NACL_IRT_PRIVATE_PNACL_TRANSLATOR_LINK_v0_1,
&nacl_irt_private_pnacl_translator_link,
sizeof(nacl_irt_private_pnacl_translator_link), NULL },
+ /*
+ * TODO(jvoung): Similar to NACL_IRT_PRIVATE_PNACL_TRANSLATOR_LINK_v0_1
+ * ideally this should be hidden from non-translator apps.
+ */
+ { NACL_IRT_PRIVATE_PNACL_TRANSLATOR_COMPILE_v0_1,
+ &nacl_irt_private_pnacl_translator_compile,
+ sizeof(nacl_irt_private_pnacl_translator_compile), NULL },
};
size_t nacl_irt_query_core(const char *interface_ident,
« no previous file with comments | « src/untrusted/irt/irt_interfaces.h ('k') | src/untrusted/irt/irt_pnacl_translator.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698