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

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

Issue 10134056: Refactor the process of choosing validators. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: more aesthetics Created 8 years, 6 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: src/trusted/validator/x86/ncval_seg_sfi/ncdecode.c
diff --git a/src/trusted/validator/x86/ncval_seg_sfi/ncdecode.c b/src/trusted/validator/x86/ncval_seg_sfi/ncdecode.c
index e1e3ccfb3564b4c312b5ce923b3938bcd59a5d28..200e0c167b264d260aefc919bba04ede6e6be0c7 100644
--- a/src/trusted/validator/x86/ncval_seg_sfi/ncdecode.c
+++ b/src/trusted/validator/x86/ncval_seg_sfi/ncdecode.c
@@ -685,10 +685,12 @@ static Bool NullNCDecoderStatePairAction(struct NCDecoderStatePair* tthis,
void NCDecoderStatePairConstruct(NCDecoderStatePair* tthis,
NCDecoderState* old_dstate,
- NCDecoderState* new_dstate) {
+ NCDecoderState* new_dstate,
+ NaClCopyInstructionFunc copy_func) {
tthis->old_dstate = old_dstate;
tthis->new_dstate = new_dstate;
tthis->action_fn = NullNCDecoderStatePairAction;
+ tthis->copy_func = copy_func;
}
void NCDecoderStatePairDestruct(NCDecoderStatePair* tthis) {
« no previous file with comments | « src/trusted/validator/x86/ncval_seg_sfi/ncdecode.h ('k') | src/trusted/validator/x86/ncval_seg_sfi/ncvalidate.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698