summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/bytecode/SamplingTool.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-02-03 09:55:33 +0100
committerSimon Hausmann <simon.hausmann@nokia.com>2012-02-03 09:55:33 +0100
commitcd44dc59cdfc39534aef4d417e9f3c412e3be139 (patch)
tree8d89889ba95ed6ec9322e733846cc9cce9d7dff1 /Source/JavaScriptCore/bytecode/SamplingTool.h
parentd11f84f5b5cdc0d92a08af01b13472fdd5f9acb9 (diff)
downloadqtwebkit-cd44dc59cdfc39534aef4d417e9f3c412e3be139.tar.gz
Imported WebKit commit fce473cb4d55aa9fe9d0b0322a2fffecb731b961 (http://svn.webkit.org/repository/webkit/trunk@106560)
Diffstat (limited to 'Source/JavaScriptCore/bytecode/SamplingTool.h')
-rw-r--r--Source/JavaScriptCore/bytecode/SamplingTool.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/JavaScriptCore/bytecode/SamplingTool.h b/Source/JavaScriptCore/bytecode/SamplingTool.h
index b69ef026e..32a44ad69 100644
--- a/Source/JavaScriptCore/bytecode/SamplingTool.h
+++ b/Source/JavaScriptCore/bytecode/SamplingTool.h
@@ -45,8 +45,8 @@ namespace JSC {
class SamplingFlags {
public:
- static void start();
- static void stop();
+ JS_EXPORT_PRIVATE static void start();
+ JS_EXPORT_PRIVATE static void stop();
#if ENABLE(SAMPLING_FLAGS)
static void setFlag(unsigned flag)
@@ -89,7 +89,7 @@ namespace JSC {
#endif
private:
- static uint32_t s_flags;
+ JS_EXPORTDATA static uint32_t s_flags;
#if ENABLE(SAMPLING_FLAGS)
static uint64_t s_flagCounts[33];
#endif
@@ -174,7 +174,7 @@ namespace JSC {
class SamplingRegion {
public:
SamplingRegion(const char*) { }
- void dump();
+ JS_EXPORT_PRIVATE void dump();
};
#endif // ENABLE(SAMPLING_REGIONS)
@@ -220,8 +220,8 @@ namespace JSC {
static unsigned s_hertz;
static ThreadIdentifier s_samplingThread;
- static void start(unsigned hertz=10000);
- static void stop();
+ JS_EXPORT_PRIVATE static void start(unsigned hertz=10000);
+ JS_EXPORT_PRIVATE static void stop();
static void* threadStartFunc(void*);
};
@@ -294,7 +294,7 @@ namespace JSC {
memset(m_opcodeSamplesInCTIFunctions, 0, sizeof(m_opcodeSamplesInCTIFunctions));
}
- void setup();
+ JS_EXPORT_PRIVATE void setup();
void dump(ExecState*);
void notifyOfScope(JSGlobalData&, ScriptExecutable* scope);