Commit aae57e37 authored by mrowe@apple.com's avatar mrowe@apple.com
Browse files

JavaScriptCore fails to build with newer versions of clang.

Reviewed by Sam Weinig.

* interpreter/Interpreter.cpp: Remove an unused function.
* parser/SourceProvider.cpp: Ditto.
* runtime/GCActivityCallback.cpp: #if a constant that's only used on non-CF platforms.
* runtime/JSCJSValue.cpp: Remove an unused constant.
* runtime/JSString.cpp: Ditto.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 1524ed50
2013-09-28 Mark Rowe <mrowe@apple.com>
JavaScriptCore fails to build with newer versions of clang.
Reviewed by Sam Weinig.
* interpreter/Interpreter.cpp: Remove an unused function.
* parser/SourceProvider.cpp: Ditto.
* runtime/GCActivityCallback.cpp: #if a constant that's only used on non-CF platforms.
* runtime/JSCJSValue.cpp: Remove an unused constant.
* runtime/JSString.cpp: Ditto.
2013-09-27 Filip Pizlo <fpizlo@apple.com>
 
Get rid of SetMyScope/SetCallee; use normal variables for the scope and callee of inlined call frames of closures
......@@ -433,12 +433,6 @@ static bool unwindCallFrame(StackVisitor& visitor)
return !callerFrame->hasHostCallFrameFlag();
}
static ALWAYS_INLINE const String getSourceURLFromCallFrame(CallFrame* callFrame)
{
ASSERT(!callFrame->hasHostCallFrameFlag());
return callFrame->codeBlock()->ownerExecutable()->sourceURL();
}
static StackFrameCodeType getStackFrameCodeType(StackVisitor& visitor)
{
switch (visitor->codeType()) {
......
......@@ -42,11 +42,6 @@ SourceProvider::~SourceProvider()
{
}
static inline size_t charPositionExtractor(const size_t* value)
{
return *value;
}
static TCMalloc_SpinLock providerIdLock = SPINLOCK_INITIALIZER;
void SourceProvider::getID()
......
......@@ -50,7 +50,10 @@ const double gcTimeSlicePerMB = 0.01; // Percentage of CPU time we will spend to
const double maxGCTimeSlice = 0.05; // The maximum amount of CPU time we want to use for opportunistic timer-triggered collections.
const double timerSlop = 2.0; // Fudge factor to avoid performance cost of resetting timer.
const double pagingTimeOut = 0.1; // Time in seconds to allow opportunistic timer to iterate over all blocks to see if the Heap is paged out.
#if !USE(CF)
const double hour = 60 * 60;
#endif
#if USE(CF)
DefaultGCActivityCallback::DefaultGCActivityCallback(Heap* heap)
......
......@@ -38,8 +38,6 @@
namespace JSC {
static const double D32 = 4294967296.0;
// ECMA 9.4
double JSValue::toInteger(ExecState* exec) const
{
......
......@@ -32,8 +32,6 @@
namespace JSC {
static const unsigned substringFromRopeCutoff = 4;
const ClassInfo JSString::s_info = { "string", 0, 0, 0, CREATE_METHOD_TABLE(JSString) };
void JSRopeString::RopeBuilder::expand()
......
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