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

Unified Diff: src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter_verbose.c

Issue 625923004: Delete 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
Index: src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter_verbose.c
diff --git a/src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter_verbose.c b/src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter_verbose.c
deleted file mode 100644
index 0ee0f8b6c42edba6253e57264ca1310c41be3674..0000000000000000000000000000000000000000
--- a/src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter_verbose.c
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2011 The Native Client Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-/*
- * ncvalidate_iter.c
- * Validate x86 instructions for Native Client
- *
- */
-
-#include "native_client/src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter.h"
-
-#include "native_client/src/shared/platform/nacl_log.h"
-#include "native_client/src/trusted/validator/x86/decoder/nc_inst_state_internal.h"
-#include "native_client/src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter_internal.h"
-
-void NaClValidatorStateSetErrorReporter(NaClValidatorState *state,
- NaClErrorReporter *reporter) {
- switch (reporter->supported_reporter) {
- case NaClNullErrorReporter:
- case NaClInstStateErrorReporter:
- state->error_reporter = reporter;
- return;
- default:
- break;
- }
- (*reporter->printf)(
- reporter,
- "*** FATAL: using unsupported error reporter! ***\n",
- "*** NaClInstStateErrorReporter expected but found %s ***\n",
- NaClErrorReporterSupportedName(reporter->supported_reporter));
- exit(1);
-}
-
-static void NaClVerboseErrorPrintInst(NaClErrorReporter* self,
- struct NaClInstState* inst) {
- NaClInstStateInstPrint(NaClLogGetGio(), inst);
-}
-
-NaClErrorReporter kNaClVerboseErrorReporter = {
- NaClInstStateErrorReporter,
- NaClVerboseErrorPrintf,
- NaClVerboseErrorPrintfV,
- (NaClPrintInst) NaClVerboseErrorPrintInst
-};

Powered by Google App Engine
This is Rietveld 408576698