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

Unified Diff: src/trusted/validator/validator_init.c

Issue 636933004: stop building/testing old x86 validator. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: rebase master Created 6 years, 2 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/validator.gyp ('k') | src/trusted/validator/x86/32/build.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/validator/validator_init.c
diff --git a/src/trusted/validator/validator_init.c b/src/trusted/validator/validator_init.c
index 5e2d22af5d08f3055cd798ecd91ae85f50baa858..6b937f9b1cf11783c8105241b7f7fc10ed75ce9d 100644
--- a/src/trusted/validator/validator_init.c
+++ b/src/trusted/validator/validator_init.c
@@ -7,11 +7,6 @@
#include "native_client/src/shared/platform/nacl_log.h"
#include "native_client/src/trusted/validator/ncvalidate.h"
-#if !defined(NACL_VALIDATOR_RAGEL) && NACL_ARCH(NACL_TARGET_ARCH) == NACL_x86
-static INLINE void EmitObsoleteValidatorWarning(void) {
- NaClLog(LOG_WARNING, "USING OBSOLETE NON-DFA-BASED VALIDATOR!\n");
-}
-#endif
const struct NaClValidatorInterface *NaClCreateValidator(void) {
#if NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm
@@ -20,19 +15,9 @@ const struct NaClValidatorInterface *NaClCreateValidator(void) {
return NaClValidatorCreateMips();
#elif NACL_ARCH(NACL_TARGET_ARCH) == NACL_x86
# if NACL_TARGET_SUBARCH == 64
-# if defined(NACL_VALIDATOR_RAGEL)
return NaClDfaValidatorCreate_x86_64();
-# else
- EmitObsoleteValidatorWarning();
- return NaClValidatorCreate_x86_64();
-# endif /* defined(NACL_VALIDATOR_RAGEL) */
# elif NACL_TARGET_SUBARCH == 32
-# if defined(NACL_VALIDATOR_RAGEL)
return NaClDfaValidatorCreate_x86_32();
-# else
- EmitObsoleteValidatorWarning();
- return NaClValidatorCreate_x86_32();
-# endif /* defined(NACL_VALIDATOR_RAGEL) */
# else
# error "Invalid sub-architecture!"
# endif
« no previous file with comments | « src/trusted/validator/validator.gyp ('k') | src/trusted/validator/x86/32/build.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698