| OLD | NEW |
| 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 } |
| OLD | NEW |