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

Unified Diff: src/trusted/validator_ragel/unreviewed/validator_test.c

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 side-by-side diff with in-line comments
Download patch
Index: src/trusted/validator_ragel/unreviewed/validator_test.c
===================================================================
--- src/trusted/validator_ragel/unreviewed/validator_test.c (revision 9996)
+++ src/trusted/validator_ragel/unreviewed/validator_test.c (working copy)
@@ -14,7 +14,7 @@
#include "native_client/src/include/elf64.h"
#include "native_client/src/shared/platform/nacl_check.h"
#include "native_client/src/shared/utils/types.h"
-#include "native_client/src/trusted/validator_ragel/unreviewed/validator_internal.h"
+#include "native_client/src/trusted/validator_ragel/validator_internal.h"
/* This is a copy of NaClLog from shared/platform/nacl_log.c to avoid
* linking in code in NaCl shared code in the unreviewed/Makefile and be able to
@@ -241,13 +241,13 @@
for (count = 0; count < repeat_count; ++count) {
Bool rc = FALSE;
- if (raw_bitness == 0)
+ if (raw_bitness == 0) {
rc = ValidateElf(filename,
data, data_size,
warnings,
options,
cpu_features);
- else if (raw_bitness == 32) {
+ } else if (raw_bitness == 32) {
struct ValidateState state;
state.offset = data;
CHECK(data_size % kBundleSize == 0);
@@ -255,8 +255,7 @@
options, cpu_features,
warnings ? ProcessErrorOrWarning : ProcessError,
&state);
- }
- else if (raw_bitness == 64) {
+ } else if (raw_bitness == 64) {
struct ValidateState state;
state.offset = data;
CHECK(data_size % kBundleSize == 0);

Powered by Google App Engine
This is Rietveld 408576698