diff options
author | Steve Block <steveblock@google.com> | 2010-02-02 14:57:50 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-02-04 15:06:55 +0000 |
commit | d0825bca7fe65beaee391d30da42e937db621564 (patch) | |
tree | 7461c49eb5844ffd1f35d1ba2c8b7584c1620823 /JavaScriptCore/profiler | |
parent | 3db770bd97c5a59b6c7574ca80a39e5a51c1defd (diff) | |
download | external_webkit-d0825bca7fe65beaee391d30da42e937db621564.zip external_webkit-d0825bca7fe65beaee391d30da42e937db621564.tar.gz external_webkit-d0825bca7fe65beaee391d30da42e937db621564.tar.bz2 |
Merge webkit.org at r54127 : Initial merge by git
Change-Id: Ib661abb595522f50ea406f72d3a0ce17f7193c82
Diffstat (limited to 'JavaScriptCore/profiler')
-rw-r--r-- | JavaScriptCore/profiler/HeavyProfile.cpp | 0 | ||||
-rw-r--r-- | JavaScriptCore/profiler/HeavyProfile.h | 0 | ||||
-rw-r--r-- | JavaScriptCore/profiler/ProfileNode.cpp | 4 | ||||
-rw-r--r-- | JavaScriptCore/profiler/Profiler.cpp | 2 | ||||
-rw-r--r-- | JavaScriptCore/profiler/TreeProfile.cpp | 0 | ||||
-rw-r--r-- | JavaScriptCore/profiler/TreeProfile.h | 0 |
6 files changed, 3 insertions, 3 deletions
diff --git a/JavaScriptCore/profiler/HeavyProfile.cpp b/JavaScriptCore/profiler/HeavyProfile.cpp deleted file mode 100644 index e69de29..0000000 --- a/JavaScriptCore/profiler/HeavyProfile.cpp +++ /dev/null diff --git a/JavaScriptCore/profiler/HeavyProfile.h b/JavaScriptCore/profiler/HeavyProfile.h deleted file mode 100644 index e69de29..0000000 --- a/JavaScriptCore/profiler/HeavyProfile.h +++ /dev/null diff --git a/JavaScriptCore/profiler/ProfileNode.cpp b/JavaScriptCore/profiler/ProfileNode.cpp index 02fb7c9..fb126b3 100644 --- a/JavaScriptCore/profiler/ProfileNode.cpp +++ b/JavaScriptCore/profiler/ProfileNode.cpp @@ -33,7 +33,7 @@ #include <stdio.h> #include <wtf/DateMath.h> -#if PLATFORM(WIN_OS) +#if OS(WINDOWS) #include <windows.h> #endif @@ -43,7 +43,7 @@ namespace JSC { static double getCount() { -#if PLATFORM(WIN_OS) +#if OS(WINDOWS) static LARGE_INTEGER frequency = {0}; if (!frequency.QuadPart) QueryPerformanceFrequency(&frequency); diff --git a/JavaScriptCore/profiler/Profiler.cpp b/JavaScriptCore/profiler/Profiler.cpp index 5585d2e..fe8727a 100644 --- a/JavaScriptCore/profiler/Profiler.cpp +++ b/JavaScriptCore/profiler/Profiler.cpp @@ -148,7 +148,7 @@ CallIdentifier Profiler::createCallIdentifier(ExecState* exec, JSValue functionV } if (asObject(functionValue)->inherits(&InternalFunction::info)) return CallIdentifier(static_cast<InternalFunction*>(asObject(functionValue))->name(exec), defaultSourceURL, defaultLineNumber); - return CallIdentifier("(" + asObject(functionValue)->className() + " object)", defaultSourceURL, defaultLineNumber); + return CallIdentifier(makeString("(", asObject(functionValue)->className(), " object)"), defaultSourceURL, defaultLineNumber); } CallIdentifier createCallIdentifierFromFunctionImp(ExecState* exec, JSFunction* function) diff --git a/JavaScriptCore/profiler/TreeProfile.cpp b/JavaScriptCore/profiler/TreeProfile.cpp deleted file mode 100644 index e69de29..0000000 --- a/JavaScriptCore/profiler/TreeProfile.cpp +++ /dev/null diff --git a/JavaScriptCore/profiler/TreeProfile.h b/JavaScriptCore/profiler/TreeProfile.h deleted file mode 100644 index e69de29..0000000 --- a/JavaScriptCore/profiler/TreeProfile.h +++ /dev/null |