summaryrefslogtreecommitdiffstats
path: root/library/cpp/execprofile/profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp/execprofile/profile.cpp')
-rw-r--r--library/cpp/execprofile/profile.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/execprofile/profile.cpp b/library/cpp/execprofile/profile.cpp
index be1fc216704..d05de20203f 100644
--- a/library/cpp/execprofile/profile.cpp
+++ b/library/cpp/execprofile/profile.cpp
@@ -188,11 +188,11 @@ private:
#endif
#elif defined _darwin_
#if defined _64_
-#if defined(_arm_)
- return (void*)(*mctx)->__ss.__pc;
-#else
+#if defined(_arm_)
+ return (void*)(*mctx)->__ss.__pc;
+#else
return (void*)(*mctx)->__ss.__rip;
-#endif
+#endif
#else
#if defined(__IOS__)
return (void*)(*mctx)->__ss.__pc;