Commit 6c920b27 authored by Kent Tamura's avatar Kent Tamura Committed by Commit Bot

Remove WTF_NOINLINE

crrev.com/569501 removed NEVER_INLINE macro from Blink.
crrev.com/585239 added it again as WTF_NOINLINE.

This CL has no behavior changes.

Change-Id: I31226e874101f7f51b66a85a4e9651ecc984ed6c
Reviewed-on: https://chromium-review.googlesource.com/c/1478326
Auto-Submit: Kent Tamura <tkent@chromium.org>
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Reviewed-by: default avatarJeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#633703}
parent c00b17c2
......@@ -27,7 +27,6 @@
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_WTF_COMPILER_H_
#include "base/compiler_specific.h"
#include "build/build_config.h"
/* ==== Compiler features ==== */
......@@ -53,10 +52,4 @@
#define NO_SANITIZE_CFI_ICALL
#endif
#if defined(COMPILER_MSVC)
#define WTF_NOINLINE __declspec(noinline)
#else
#define WTF_NOINLINE __attribute__((noinline))
#endif
#endif /* WTF_Compiler_h */
......@@ -7,8 +7,8 @@
#include <stddef.h>
#include <stdint.h>
#include "base/compiler_specific.h"
#include "build/build_config.h"
#include "third_party/blink/renderer/platform/wtf/compiler.h"
#include "third_party/blink/renderer/platform/wtf/wtf_export.h"
namespace WTF {
......@@ -20,7 +20,7 @@ WTF_EXPORT void* GetStackStart();
// SafeStack. Must be marked noinline because it relies on compiler intrinsics
// that report the current stack frame and if inlined it could report a position
// above the current stack position.
WTF_EXPORT WTF_NOINLINE uintptr_t GetCurrentStackPosition();
WTF_EXPORT NOINLINE uintptr_t GetCurrentStackPosition();
namespace internal {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment