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

Unified Diff: src/trusted/validator/x86/x86_insts_inl.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
« no previous file with comments | « src/trusted/validator/x86/x86_insts.c ('k') | src/trusted/validator/x86/x86_insts_verbose.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/validator/x86/x86_insts_inl.c
diff --git a/src/trusted/validator/x86/x86_insts_inl.c b/src/trusted/validator/x86/x86_insts_inl.c
deleted file mode 100644
index 5f56c93b33ccb459b5f25d5a541d1f037ca2ad43..0000000000000000000000000000000000000000
--- a/src/trusted/validator/x86/x86_insts_inl.c
+++ /dev/null
@@ -1,41 +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.
- */
-
-/*
- * x86_insts.h - Holds inline routines for commonly used (simple)
- * functions in x86_insts.h. Used to speed up code. Inlined routines
- * correspond to the following functions in x86_insts.h, but with an
- * 'Inline' suffix:
- *
- * modrm_mod
- * modrm_rm
- * modrm_reg
- * modrm_opcode
- */
-
-#ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_X86_INSTS_INL_H__
-#define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_X86_INSTS_INL_H__
-
-#include "native_client/src/trusted/validator/x86/x86_insts.h"
-
-/* Accessors for the ModRm byte. */
-static INLINE uint8_t modrm_modInline(uint8_t modrm) {
- return ((modrm >> 6) & 0x03);
-}
-
-static INLINE uint8_t modrm_rmInline(uint8_t modrm) {
- return (modrm & 0x07);
-}
-
-static INLINE uint8_t modrm_regInline(uint8_t modrm) {
- return ((modrm >> 3) & 0x07);
-}
-
-static INLINE uint8_t modrm_opcodeInline(uint8_t modrm) {
- return modrm_regInline(modrm);
-}
-
-#endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_X86_INSTS_INL_H__ */
« no previous file with comments | « src/trusted/validator/x86/x86_insts.c ('k') | src/trusted/validator/x86/x86_insts_verbose.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698