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

Unified Diff: components/nacl/renderer/ppb_nacl_private.h

Issue 1005173006: Add a switch for using PNaCl Subzero and use it for -O0 translation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stuff 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
Index: components/nacl/renderer/ppb_nacl_private.h
diff --git a/components/nacl/renderer/ppb_nacl_private.h b/components/nacl/renderer/ppb_nacl_private.h
index f42c2d1cb31c9c37f8c3b0c58bee25dd99a61257..8943ea325d010877be29652c8f3084e520bd80cf 100644
--- a/components/nacl/renderer/ppb_nacl_private.h
+++ b/components/nacl/renderer/ppb_nacl_private.h
@@ -169,6 +169,7 @@ typedef enum {
struct PP_PNaClOptions {
PP_Bool translate;
PP_Bool is_debug;
+ PP_Bool use_subzero;
int32_t opt_level;
};
/**
@@ -307,7 +308,8 @@ struct PPB_NaCl_Private {
/* Returns the filenames for the llc and ld tools. */
PP_Bool (*GetPnaclResourceInfo)(PP_Instance instance,
struct PP_Var* llc_tool_name,
- struct PP_Var* ld_tool_name);
+ struct PP_Var* ld_tool_name,
+ struct PP_Var* subzero_tool_name);
/* PP_Var string of attributes describing the CPU features supported
* by the current architecture. The string is a comma-delimited list
* of attributes supported by LLVM in its -mattr= option:

Powered by Google App Engine
This is Rietveld 408576698