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

Unified Diff: src/trusted/validator/x86/ncval_seg_sfi/ncvalidate.c

Issue 9535001: Add validation caching interface. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: More edits Created 8 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
« no previous file with comments | « src/trusted/validator/x86/ncval_seg_sfi/ncvalidate.h ('k') | src/trusted/validator_arm/ncvalidate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/validator/x86/ncval_seg_sfi/ncvalidate.c
diff --git a/src/trusted/validator/x86/ncval_seg_sfi/ncvalidate.c b/src/trusted/validator/x86/ncval_seg_sfi/ncvalidate.c
index 1b698d663c58abb422c5aa084f08753a76f92b93..5e3648ae87cc2b06408b4b750db75ec0311bed1e 100644
--- a/src/trusted/validator/x86/ncval_seg_sfi/ncvalidate.c
+++ b/src/trusted/validator/x86/ncval_seg_sfi/ncvalidate.c
@@ -78,6 +78,10 @@ void NCValidatorSetMaxDiagnostics(int new_value) {
kMaxDiagnostics = new_value;
}
+int NCValidatorDidStubOut(struct NCValidatorState *vstate) {
+ return vstate->stats.didstubout;
+}
+
/* This function is intended to only be called by ValidatePrintInstructionError
* and ValidatePrintOffsetError.
*/
« no previous file with comments | « src/trusted/validator/x86/ncval_seg_sfi/ncvalidate.h ('k') | src/trusted/validator_arm/ncvalidate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698