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

Unified Diff: crosstest/test_calling_conv_main.cpp

Issue 2519863002: Subzero, MIPS32: Changes for improving sandbox crosstest results (Closed)
Patch Set: Addressed review comments Created 4 years, 1 month 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 | « no previous file | pydir/crosstest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crosstest/test_calling_conv_main.cpp
diff --git a/crosstest/test_calling_conv_main.cpp b/crosstest/test_calling_conv_main.cpp
index ce5ecda4c42c966bcaa65761fef8f52d164c3d03..756453789cc9507e5dcbc70567533806a12fd453 100644
--- a/crosstest/test_calling_conv_main.cpp
+++ b/crosstest/test_calling_conv_main.cpp
@@ -69,6 +69,16 @@ void testCaller(size_t &TotalTests, size_t &Passes, size_t &Failures) {
void (*Subzero_Caller)(void);
CalleePtrTy Callee;
} Funcs[] = {
+#ifdef MIPS32
+#define X(caller, callee, argc) \
+ { \
+ STR(caller), STR(callee), argc, &caller, &Subzero_::caller, \
+ reinterpret_cast<CalleePtrTy>(&Subzero_::callee), \
+ } \
+ ,
+ TEST_FUNC_TABLE
+#undef X
+#else
#define X(caller, callee, argc) \
{ \
STR(caller), STR(callee), argc, &caller, &Subzero_::caller, \
@@ -77,6 +87,7 @@ void testCaller(size_t &TotalTests, size_t &Passes, size_t &Failures) {
,
TEST_FUNC_TABLE
#undef X
+#endif
};
const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs);
« no previous file with comments | « no previous file | pydir/crosstest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698