Skip to content

Commit

Permalink
Bug 1602280 - Add visibility attribute to ProfilingStack. r=tcampbell…
Browse files Browse the repository at this point in the history
…, a=RyanVM

Differential Revision: https://phabricator.services.mozilla.com/D56303

--HG--
extra : source : d3b4d295563c6efa03dcc2f206eb538c32b9bb75
  • Loading branch information
ptomato committed Dec 9, 2019
1 parent c70cfb8 commit 7b4a65c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/public/ProfilingStack.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "js/Utility.h"

class JS_PUBLIC_API JSTracer;
class ProfilingStack;
class JS_FRIEND_API ProfilingStack;

// This file defines the classes ProfilingStack and ProfilingStackFrame.
// The ProfilingStack manages an array of ProfilingStackFrames.
Expand Down Expand Up @@ -376,7 +376,7 @@ JS_FRIEND_API void SetProfilingThreadCallbacks(
// - When popping an old frame, the only operation is the decrementing of the
// stack pointer, which is obviously atomic.
//
class ProfilingStack final {
class JS_FRIEND_API ProfilingStack final {
public:
ProfilingStack() : stackPointer(0) {}

Expand Down

0 comments on commit 7b4a65c

Please sign in to comment.