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

Unified Diff: crosstest/test_stacksave_main.c

Issue 1273153002: Subzero. Native 64-bit int arithmetic on x86-64. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixes tests & make format Created 5 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « crosstest/test_select_main.cpp ('k') | crosstest/test_strengthreduce_main.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crosstest/test_stacksave_main.c
diff --git a/crosstest/test_stacksave_main.c b/crosstest/test_stacksave_main.c
index 0691025de2f3c3136f3e624b00e782c6c3ce156b..f03304e53791170e37c437bb66d847d8011a052f 100644
--- a/crosstest/test_stacksave_main.c
+++ b/crosstest/test_stacksave_main.c
@@ -22,7 +22,11 @@
DECLARE_TESTS()
DECLARE_TESTS(Subzero_)
-int main(int argc, char **argv) {
+#ifdef X8664_STACK_HACK
+int wrapped_main(int argc, char *argv[]) {
+#else // !defined(X8664_STACK_HACK)
+int main(int argc, char *argv[]) {
+#endif // X8664_STACK_HACK
size_t TotalTests = 0;
size_t Passes = 0;
size_t Failures = 0;
« no previous file with comments | « crosstest/test_select_main.cpp ('k') | crosstest/test_strengthreduce_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698