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

Unified Diff: tests/thread_capture/arch/x86_64/thread_capture_test_injection.c

Issue 12218089: Remove nacl_user[] array lookup from syscall code path on x86-64 and MIPS (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 7 years, 10 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: tests/thread_capture/arch/x86_64/thread_capture_test_injection.c
diff --git a/tests/thread_capture/arch/x86_64/thread_capture_test_injection.c b/tests/thread_capture/arch/x86_64/thread_capture_test_injection.c
index 76c13e09acf59f5368dec2b54a31adb08c693736..67b1d5c8c2f281903c01a6359cab3c99e87ac863 100644
--- a/tests/thread_capture/arch/x86_64/thread_capture_test_injection.c
+++ b/tests/thread_capture/arch/x86_64/thread_capture_test_injection.c
@@ -19,7 +19,7 @@ static int32_t TestSyscall(struct NaClAppThread *natp) {
NaClCopyDropLock(natp->nap);
- NaClTlsSetIdx(0);
+ NaClTlsSetCurrentThread(NULL);
return 0;
}
« src/trusted/service_runtime/arch/mips/nacl_tls.c ('K') | « src/trusted/service_runtime/nacl_tls.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698