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

Unified Diff: tests/dynamic_code_loading/dynamic_load_test.c

Issue 11269063: Fix the NACL_INSTR_* names that I just checked in to NACL_INSTR_ARM_*, as suggested by mseaborn. (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
« no previous file with comments | « tests/debug_stub/debugger_test.c ('k') | tests/dynamic_code_loading/dyncode_demand_alloc_test.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/dynamic_code_loading/dynamic_load_test.c
diff --git a/tests/dynamic_code_loading/dynamic_load_test.c b/tests/dynamic_code_loading/dynamic_load_test.c
index dc6c970ee7adb20408d0e43210dd1a68bee4eb48..133a03e232605d8cfc93071fc736a0547a286a88 100644
--- a/tests/dynamic_code_loading/dynamic_load_test.c
+++ b/tests/dynamic_code_loading/dynamic_load_test.c
@@ -82,7 +82,7 @@ void fill_hlts(uint8_t *data, size_t size) {
#if defined(__i386__) || defined(__x86_64__)
memset(data, 0xf4, size); /* HLTs */
#elif defined(__arm__)
- fill_int32(data, size, NACL_INSTR_HALT_FILL);
+ fill_int32(data, size, NACL_INSTR_ARM_HALT_FILL);
#else
# error "Unknown arch"
#endif
@@ -488,7 +488,7 @@ void check_region_is_filled_with_hlts(const char *data, size_t size) {
#if defined(__i386__) || defined(__x86_64__)
uint8_t halts = 0xf4; /* HLT */
#elif defined(__arm__)
- uint32_t halts = NACL_INSTR_HALT_FILL;
+ uint32_t halts = NACL_INSTR_ARM_HALT_FILL;
#else
# error "Unknown arch"
#endif
« no previous file with comments | « tests/debug_stub/debugger_test.c ('k') | tests/dynamic_code_loading/dyncode_demand_alloc_test.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698