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

Unified Diff: src/trusted/validator_ragel/unreviewed/decoder-x86_64.rl

Issue 10031039: Add ragel validator to SCONS (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 8 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/decoder-x86_64.rl
===================================================================
--- src/trusted/validator_ragel/unreviewed/decoder-x86_64.rl (revision 8217)
+++ src/trusted/validator_ragel/unreviewed/decoder-x86_64.rl (working copy)
@@ -5,22 +5,17 @@
*/
#include <assert.h>
-#include <elf.h>
-#include <inttypes.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "decoder.h"
-#undef TRUE
-#define TRUE 1
+#include "native_client/src/include/elf32.h"
+#include "native_client/src/shared/utils/types.h"
+#include "native_client/src/trusted/validator_ragel/unreviewed/decoder.h"
-#undef FALSE
-#define FALSE 0
+#include "native_client/src/trusted/validator_ragel/gen/decoder-x86_64-instruction-consts.c"
-#include "decoder-x86_64-instruction-consts.c"
-
%%{
machine x86_64_decoder;
alphtype unsigned char;
« no previous file with comments | « src/trusted/validator_ragel/unreviewed/decoder-x86_32.rl ('k') | src/trusted/validator_ragel/unreviewed/gen-dfa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698