Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (158956 => 158957)
--- trunk/Source/_javascript_Core/ChangeLog 2013-11-08 22:09:55 UTC (rev 158956)
+++ trunk/Source/_javascript_Core/ChangeLog 2013-11-08 22:11:21 UTC (rev 158957)
@@ -1,5 +1,14 @@
2013-11-08 Oliver Hunt <[email protected]>
+ Remove more accidentally added files.
+
+ * runtime/SetIteratorConstructor.cpp: Removed.
+ * runtime/SetIteratorConstructor.h: Removed.
+ * runtime/SetIteratorPrototype.cpp: Removed.
+ * runtime/SetIteratorPrototype.h: Removed.
+
+2013-11-08 Oliver Hunt <[email protected]>
+
Remove accidentally added files.
* runtime/JSSetIterator.cpp: Removed.
Deleted: trunk/Source/_javascript_Core/runtime/SetIteratorConstructor.cpp (158956 => 158957)
--- trunk/Source/_javascript_Core/runtime/SetIteratorConstructor.cpp 2013-11-08 22:09:55 UTC (rev 158956)
+++ trunk/Source/_javascript_Core/runtime/SetIteratorConstructor.cpp 2013-11-08 22:11:21 UTC (rev 158957)
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2013 Apple, Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "SetIteratorConstructor.h"
-
-#include "JSCJSValueInlines.h"
-#include "JSCellInlines.h"
-#include "JSGlobalObject.h"
-#include "JSSetIterator.h"
-#include "SetIteratorPrototype.h"
-
-namespace JSC {
-
-const ClassInfo SetIteratorConstructor::s_info = { "SetIterator Iterator", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(SetIteratorConstructor) };
-
-void SetIteratorConstructor::finishCreation(VM& vm)
-{
- Base::finishCreation(vm, prototype->classInfo()->className);
- putDirectWithoutTransition(vm, exec->propertyNames().prototype, prototype, DontEnum | DontDelete | ReadOnly);
-}
-
-}
\ No newline at end of file
Deleted: trunk/Source/_javascript_Core/runtime/SetIteratorConstructor.h (158956 => 158957)
--- trunk/Source/_javascript_Core/runtime/SetIteratorConstructor.h 2013-11-08 22:09:55 UTC (rev 158956)
+++ trunk/Source/_javascript_Core/runtime/SetIteratorConstructor.h 2013-11-08 22:11:21 UTC (rev 158957)
@@ -1,63 +0,0 @@
-/*
- * Copyright (C) 2013 Apple, Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef SetIteratorConstructor_h
-#define SetIteratorConstructor_h
-
-#include "JSObject.h"
-
-namespace JSC {
-
-class SetIteratorPrototype;
-
-class SetIteratorConstructor : public JSNonFinalObject {
-public:
- typedef JSNonFinalObject Base;
-
- static SetIteratorConstructor* create(VM& vm, Structure* structure, SetIteratorPrototype*)
- {
- SetIteratorConstructor* constructor = new (NotNull, allocateCell<SetIteratorConstructor>(vm.heap)) SetIteratorConstructor(vm, structure);
- constructor->finishCreation(vm);
- return constructor;
- }
-
- DECLARE_INFO;
-
- static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype)
- {
- return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), info());
- }
-
-private:
- SetIteratorConstructor(VM& vm, Structure* structure)
- : Base(vm, structure)
- {
- }
- void finishCreation(VM&);
-};
-
-}
-
-#endif // !defined(SetIteratorConstructor_h)
Deleted: trunk/Source/_javascript_Core/runtime/SetIteratorPrototype.cpp (158956 => 158957)
--- trunk/Source/_javascript_Core/runtime/SetIteratorPrototype.cpp 2013-11-08 22:09:55 UTC (rev 158956)
+++ trunk/Source/_javascript_Core/runtime/SetIteratorPrototype.cpp 2013-11-08 22:11:21 UTC (rev 158957)
@@ -1,63 +0,0 @@
-/*
- * Copyright (C) 2013 Apple, Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "SetIteratorPrototype.h"
-
-#include "JSSetIterator.h"
-
-namespace JSC {
-
-const ClassInfo SetIteratorPrototype::s_info = { "SetIterator", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(SetIteratorPrototype) };
-
-static EncodedJSValue JSC_HOST_CALL SetIteratorPrototypeFuncIterator(ExecState*);
-static EncodedJSValue JSC_HOST_CALL SetIteratorPrototypeFuncNext(ExecState*);
-
-
-void SetIteratorPrototype::finishCreation(VM& vm, JSGlobalObject* globalObject)
-{
- Base::finishCreation(vm);
- ASSERT(inherits(info()));
- vm.prototypeMap.addPrototype(this);
-
- JSC_NATIVE_FUNCTION(vm.propertyNames->iteratorPrivateName, SetIteratorPrototypeFuncIterator, DontEnum, 0);
- JSC_NATIVE_FUNCTION(vm.propertyNames->iteratorNextPrivateName, SetIteratorPrototypeFuncNext, DontEnum, 0);
-}
-
-EncodedJSValue JSC_HOST_CALL SetIteratorPrototypeFuncIterator(CallFrame* callFrame)
-{
- return JSValue::encode(callFrame->thisValue());
-}
-
-EncodedJSValue JSC_HOST_CALL SetIteratorPrototypeFuncNext(CallFrame* callFrame)
-{
- JSValue result;
- if (jsCast<JSSetIterator*>(callFrame->thisValue())->next(callFrame, result))
- return JSValue::encode(result);
- return JSValue::encode(callFrame->vm().iterationTerminator.get());
-}
-
-
-}
Deleted: trunk/Source/_javascript_Core/runtime/SetIteratorPrototype.h (158956 => 158957)
--- trunk/Source/_javascript_Core/runtime/SetIteratorPrototype.h 2013-11-08 22:09:55 UTC (rev 158956)
+++ trunk/Source/_javascript_Core/runtime/SetIteratorPrototype.h 2013-11-08 22:11:21 UTC (rev 158957)
@@ -1,61 +0,0 @@
-/*
- * Copyright (C) 2013 Apple, Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef SetIteratorPrototype_h
-#define SetIteratorPrototype_h
-
-#include "JSObject.h"
-
-namespace JSC {
-
-class SetIteratorPrototype : public JSNonFinalObject {
-public:
- typedef JSNonFinalObject Base;
-
- static SetIteratorPrototype* create(VM& vm, JSGlobalObject* globalObject, Structure* structure)
- {
- SetIteratorPrototype* prototype = new (NotNull, allocateCell<SetIteratorPrototype>(vm.heap)) SetIteratorPrototype(vm, structure);
- prototype->finishCreation(vm, globalObject);
- return prototype;
- }
-
- DECLARE_INFO;
-
- static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype)
- {
- return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), info());
- }
-
-private:
- SetIteratorPrototype(VM& vm, Structure* structure)
- : Base(vm, structure)
- {
- }
- void finishCreation(VM&, JSGlobalObject*);
-};
-
-}
-
-#endif // !defined(SetIteratorPrototype_h)