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

Unified Diff: src/trusted/validator_ragel/dfa_validate_common.h

Issue 1269113003: Rewrite non-temporal instructions Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Format Created 5 years, 4 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_ragel/dfa_validate_64.c ('k') | src/trusted/validator_ragel/dfa_validate_common.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/validator_ragel/dfa_validate_common.h
diff --git a/src/trusted/validator_ragel/dfa_validate_common.h b/src/trusted/validator_ragel/dfa_validate_common.h
index c033907629560c4d81e1b81204e8fdd246036fea..add1162ea89f92f162e13c14b2f4e220aceac21c 100644
--- a/src/trusted/validator_ragel/dfa_validate_common.h
+++ b/src/trusted/validator_ragel/dfa_validate_common.h
@@ -16,6 +16,7 @@
#include "native_client/src/shared/utils/types.h"
#include "native_client/src/trusted/validator/ncvalidate.h"
+#include "native_client/src/trusted/validator_ragel/validator.h"
/*
* ia32 or x86-64 instructions can not be longer than 15 bytes, but we have some
@@ -32,7 +33,12 @@ Bool NaClDfaProcessValidationError(const uint8_t *begin, const uint8_t *end,
uint32_t info, void *callback_data);
struct StubOutCallbackData {
+ /* input parameters */
uint32_t flags;
+ uint32_t chunk_processed_as_a_contiguous_stream;
+ uint32_t bundle_begin_offset;
+ NaClCPUFeaturesX86 *cpu_features;
+ /* output parameters */
int did_rewrite;
};
« no previous file with comments | « src/trusted/validator_ragel/dfa_validate_64.c ('k') | src/trusted/validator_ragel/dfa_validate_common.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698