| Index: tests/toolchain/stack_frame.cc
|
| diff --git a/tests/toolchain/stack_frame.cc b/tests/toolchain/stack_frame.cc
|
| index 77ab155f237b2f63e43e48cd58f8d4fc10ef7be2..f3f0994a230e4860a00352286faefd33240e098c 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__)
|
| @@ -91,7 +93,7 @@ void recurse(int n, unsigned char* old_cfa) {
|
|
|
| // TODO(sehr): change those to 16
|
| ASSERT(frame_size % 8 == 0, "ERRRO: bad frame size");
|
| - ASSERT((long) cfa % 8 == 0, "ERRRO: bad frame pointer");
|
| + ASSERT((int) cfa % 8 == 0, "ERRRO: bad frame pointer");
|
|
|
| if (n == NUM_ITERS) {
|
| // main()'s stackframe may be non-standard due to the startup code
|
|
|