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

Unified Diff: src/trusted/validator/x86/decoder/nc_inst_trans.h

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/decoder/nc_inst_trans.h
diff --git a/src/trusted/validator/x86/decoder/nc_inst_trans.h b/src/trusted/validator/x86/decoder/nc_inst_trans.h
deleted file mode 100644
index 6543f78c9ed3c5a3a0f711845e495a8ca53631c8..0000000000000000000000000000000000000000
--- a/src/trusted/validator/x86/decoder/nc_inst_trans.h
+++ /dev/null
@@ -1,54 +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.
- */
-
-/*
- * Defines the API to converting the recognized opcode (instruction),
- * in the instruction state, to the corresponding opcode expression.
- */
-
-#ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_DECODER_NC_INST_TRANS_H_
-#define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_DECODER_NC_INST_TRANS_H_
-
-#include "native_client/src/trusted/validator/x86/decoder/ncopcode_desc.h"
-
-EXTERN_C_BEGIN
-
-/* Defines the state used to match an instruction, while walking
- * instructions using the NaClInstIter.
- */
-struct NaClInstState;
-
-/* Constructs the corresponding NaClExpVector from the matched
- * NaClInst of the instruction state.
- */
-void NaClBuildExpVector(struct NaClInstState* state);
-
-/* Returns true iff the given 32 bit register is the base part of the
- * corresponding given 64-bit register.
- */
-Bool NaClIs32To64RegPair(NaClOpKind reg32, NaClOpKind reg64);
-
-/* Returns true iff the given (non-64 bit) subregister is a subpart
- * of the corresponding 64-bit register. Note: state is passed in
- * because different look ups are used for 8 bit registers, depending
- * on whether a REX prefix is found.
- */
-Bool NaClIs64Subreg(struct NaClInstState* state,
- NaClOpKind subreg, NaClOpKind reg64);
-
-/* Given a 32-bit register, return the corresponding 64-bit register.
- * Returns RegUnknown if no such register exists.
- */
-NaClOpKind NaClGet64For32BitReg(NaClOpKind reg32);
-
-/* Given a 64-bit register, return the corresponding 32-bit register.
- * Returns RegUnknown if no such register exists.
- */
-NaClOpKind NaClGet32For64BitReg(NaClOpKind reg64);
-
-EXTERN_C_END
-
-#endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_DECODER_NC_INST_TRANS_H_ */
« no previous file with comments | « src/trusted/validator/x86/decoder/nc_inst_state_tests.cc ('k') | src/trusted/validator/x86/decoder/nc_inst_trans.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698