Index: test/cctest/test-platform.cc |
diff --git a/test/cctest/test-platform.cc b/test/cctest/test-platform.cc |
index 6012fd4ae17d946758f344e35bd7a6aa40cf32fa..9e0016caccb3f515d7687d7f26d29146c3352515 100644 |
--- a/test/cctest/test-platform.cc |
+++ b/test/cctest/test-platform.cc |
@@ -17,7 +17,7 @@ void GetStackPointer(const v8::FunctionCallbackInfo<v8::Value>& args) { |
#elif V8_HOST_ARCH_IA32 |
__asm__ __volatile__("mov %%esp, %0" : "=g"(sp_addr)); |
#elif V8_HOST_ARCH_ARM |
- __asm__ __volatile__("str %%sp, %0" : "=g"(sp_addr)); |
+ __asm__ __volatile__("str sp, %0" : "=g"(sp_addr)); |
#elif V8_HOST_ARCH_ARM64 |
__asm__ __volatile__("mov x16, sp; str x16, %0" : "=g"(sp_addr)); |
#elif V8_HOST_ARCH_MIPS |