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

Unified Diff: tests/exception_test/direction_flag_x86.S

Issue 616813002: Non-SFI Mode: Enable compiling exception_test for x86-32. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: if defined() instead Created 6 years, 3 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 | « site_scons/site_tools/naclsdk.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/exception_test/direction_flag_x86.S
diff --git a/tests/exception_test/direction_flag_x86.S b/tests/exception_test/direction_flag_x86.S
index ea92ddede2978115406cfbdb3c82a268649fdfc8..d62695cc673cc22592fb9c772deb669ae96e848a 100644
--- a/tests/exception_test/direction_flag_x86.S
+++ b/tests/exception_test/direction_flag_x86.S
@@ -48,7 +48,11 @@ get_x86_direction_flag:
setb %al
add $4, %esp
+#if defined(__native_client_nonsfi__)
+ ret
+#else
naclret
+#endif
#else
# error Unknown platform
« no previous file with comments | « site_scons/site_tools/naclsdk.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698