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

Side by Side Diff: src/trusted/validator_ragel/validator_internal.h

Issue 11000033: Move validator_x86_XX.rl out of unreviewed. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 /* 7 /*
8 * This file contains common parts of x86-32 and x86-64 internals (inline 8 * This file contains common parts of x86-32 and x86-64 internals (inline
9 * functions and defines). 9 * functions and defines).
10 */ 10 */
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 *instruction_info_collected |= RESTRICTED_RBP_UNPROCESSED; 556 *instruction_info_collected |= RESTRICTED_RBP_UNPROCESSED;
557 } 557 }
558 /* Take 2 bits of operand type from operand_states as *restricted_register, 558 /* Take 2 bits of operand type from operand_states as *restricted_register,
559 * make sure operand_states denotes a register (12th bit == 0). */ 559 * make sure operand_states denotes a register (12th bit == 0). */
560 } else if ((operand_states & 0x7000) == (OperandSandboxRestricted << 13)) { 560 } else if ((operand_states & 0x7000) == (OperandSandboxRestricted << 13)) {
561 *restricted_register = (operand_states & 0x0f00) >> 8; 561 *restricted_register = (operand_states & 0x0f00) >> 8;
562 } 562 }
563 } 563 }
564 564
565 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_RAGEL_VALIDATOR_INTERNAL_H_ */ 565 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_RAGEL_VALIDATOR_INTERNAL_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698