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

Side by Side Diff: src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter_detailed.c

Issue 10116004: Eliminate bundle_size parameter from validator interface. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Merge Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter_ detailed.h" 7 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter_ detailed.h"
8 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter_ internal.h" 8 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter_ internal.h"
9 9
10 NaClValidatorState* NaClValidatorStateCreateDetailed( 10 NaClValidatorState* NaClValidatorStateCreateDetailed(
11 const NaClPcAddress vbase, 11 const NaClPcAddress vbase,
12 const NaClMemorySize sz, 12 const NaClMemorySize sz,
13 const uint8_t alignment,
14 const NaClOpKind base_register, 13 const NaClOpKind base_register,
15 const NaClCPUFeaturesX86* features) { 14 const NaClCPUFeaturesX86* features) {
16 NaClValidatorState* state = 15 NaClValidatorState* state =
17 NaClValidatorStateCreate(vbase, sz, alignment, base_register, 16 NaClValidatorStateCreate(vbase, sz, base_register, FALSE, features);
18 FALSE, features);
19 if (state != NULL) { 17 if (state != NULL) {
20 state->do_detailed = TRUE; 18 state->do_detailed = TRUE;
21 } 19 }
22 return state; 20 return state;
23 } 21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698