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

Unified Diff: tests/toolchain/stack_frame.cc

Issue 12256018: [MIPS] Add remaining parts for building tests for MIPS (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Update per codereview. 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/toolchain/stack_frame.cc
diff --git a/tests/toolchain/stack_frame.cc b/tests/toolchain/stack_frame.cc
index 77ab155f237b2f63e43e48cd58f8d4fc10ef7be2..63fdefed00b47ee1163a8ca6eecc3429536db73b 100644
--- a/tests/toolchain/stack_frame.cc
+++ b/tests/toolchain/stack_frame.cc
@@ -41,6 +41,8 @@ void* GetReturnAddress(void* frame_end) {
#if defined(__arm__)
return ((void**)frame_end)[-1];
+#elif defined(__mips__)
+ return ((void**)frame_end)[-1];
#elif defined(__i386__)
return ((void**)frame_end)[-1];
#elif defined(__x86_64__)

Powered by Google App Engine
This is Rietveld 408576698