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

Unified Diff: src/trusted/validator_ragel/gen/validator_x86_64.c

Issue 10860010: Fix uint8_t/unit32_t mix, always use wordsize access (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 4 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:
Download patch
Index: src/trusted/validator_ragel/gen/validator_x86_64.c
===================================================================
--- src/trusted/validator_ragel/gen/validator_x86_64.c (revision 9491)
+++ src/trusted/validator_ragel/gen/validator_x86_64.c (working copy)
@@ -30,8 +30,8 @@
const NaClCPUFeaturesX86 *cpu_features,
validation_callback_func user_callback,
void *callback_data) {
- uint8_t *valid_targets = BitmapAllocate(size);
- uint8_t *jump_dests = BitmapAllocate(size);
+ bitmap_word *valid_targets = BitmapAllocate(size);
+ bitmap_word *jump_dests = BitmapAllocate(size);
const uint8_t *current_position;
const uint8_t *end_of_bundle;
int result = TRUE;

Powered by Google App Engine
This is Rietveld 408576698