Skip to content

Commit 7132a97

Browse files
author
Mark Hahnenberg
committed
Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
https://bugs.webkit.org/show_bug.cgi?id=107327 Reviewed by Filip Pizlo. Source/JavaScriptCore: We're renaming these two files, so we have to replace the names everywhere. * API/APICast.h: * API/APIJSValue.h: Removed. * API/JSBlockAdaptor.mm: * API/JSStringRefCF.cpp: * API/JSValue.h: Copied from Source/JavaScriptCore/API/APIJSValue.h. * API/JSValue.mm: * API/JSValueInternal.h: * API/JSValueRef.cpp: * API/JSWeakObjectMapRefPrivate.cpp: * API/JavaScriptCore.h: * CMakeLists.txt: * GNUmakefile.list.am: * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: * JavaScriptCore.xcodeproj/project.pbxproj: * Target.pri: * bytecode/CallLinkStatus.h: * bytecode/CodeBlock.cpp: * bytecode/MethodOfGettingAValueProfile.h: * bytecode/ResolveGlobalStatus.cpp: * bytecode/ResolveGlobalStatus.h: * bytecode/SpeculatedType.h: * bytecode/ValueRecovery.h: * dfg/DFGByteCodeParser.cpp: * dfg/DFGJITCompiler.cpp: * dfg/DFGNode.h: * dfg/DFGSpeculativeJIT.cpp: * dfg/DFGSpeculativeJIT64.cpp: * heap/CopiedBlock.h: * heap/HandleStack.cpp: * heap/HandleTypes.h: * heap/WeakImpl.h: * interpreter/Interpreter.h: * interpreter/Register.h: * interpreter/VMInspector.h: * jit/HostCallReturnValue.cpp: * jit/HostCallReturnValue.h: * jit/JITCode.h: * jit/JITExceptions.cpp: * jit/JITExceptions.h: * jit/JSInterfaceJIT.h: * llint/LLIntCLoop.h: * llint/LLIntData.h: * llint/LLIntSlowPaths.cpp: * profiler/ProfilerBytecode.h: * profiler/ProfilerBytecodeSequence.h: * profiler/ProfilerBytecodes.h: * profiler/ProfilerCompilation.h: * profiler/ProfilerCompiledBytecode.h: * profiler/ProfilerDatabase.h: * profiler/ProfilerOSRExit.h: * profiler/ProfilerOSRExitSite.h: * profiler/ProfilerOrigin.h: * profiler/ProfilerOriginStack.h: * runtime/ArgList.cpp: * runtime/CachedTranscendentalFunction.h: * runtime/CallData.h: * runtime/Completion.h: * runtime/ConstructData.h: * runtime/DateConstructor.cpp: * runtime/DateInstance.cpp: * runtime/DatePrototype.cpp: * runtime/JSAPIValueWrapper.h: * runtime/JSCJSValue.cpp: Copied from Source/JavaScriptCore/runtime/JSValue.cpp. * runtime/JSCJSValue.h: Copied from Source/JavaScriptCore/runtime/JSValue.h. (JSValue): * runtime/JSCJSValueInlines.h: Copied from Source/JavaScriptCore/runtime/JSValueInlines.h. * runtime/JSGlobalData.h: * runtime/JSGlobalObject.cpp: * runtime/JSGlobalObjectFunctions.h: * runtime/JSStringJoiner.h: * runtime/JSValue.cpp: Removed. * runtime/JSValue.h: Removed. * runtime/JSValueInlines.h: Removed. * runtime/LiteralParser.h: * runtime/Operations.h: * runtime/PropertyDescriptor.h: * runtime/PropertySlot.h: * runtime/Protect.h: * runtime/RegExpPrototype.cpp: * runtime/Structure.h: Source/WebCore: No new tests. We're renaming these two files, so we have to replace the names everywhere. * ForwardingHeaders/runtime/JSCJSValue.h: Copied from Source/WebCore/ForwardingHeaders/runtime/JSValue.h. * ForwardingHeaders/runtime/JSValue.h: Removed. * WebCore.vcproj/WebCore.vcproj: * bindings/js/JSArrayBufferViewHelper.h: * bindings/js/JSCustomXPathNSResolver.h: * bindings/js/JSHTMLAllCollectionCustom.cpp: * bindings/js/JSIntentConstructor.cpp: * bindings/js/JSMessagePortCustom.h: * bindings/js/JSNodeFilterCondition.h: * bindings/js/JavaScriptCallFrame.cpp: * bindings/js/ScriptCallStackFactory.cpp: * bindings/js/ScriptValue.h: * bindings/js/SerializedScriptValue.h: * bindings/objc/WebScriptObjectPrivate.h: * bridge/c/c_utility.h: * bridge/testbindings.cpp: * bridge/testbindings.mm: * bridge/testqtbindings.cpp: * plugins/PluginView.cpp: * plugins/blackberry/PluginViewBlackBerry.cpp: * plugins/gtk/PluginViewGtk.cpp: * plugins/mac/PluginViewMac.mm: * plugins/qt/PluginViewQt.cpp: * plugins/win/PluginViewWin.cpp: Source/WebKit/gtk: We're renaming these two files, so we have to replace the names everywhere. * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: Source/WebKit/mac: We're renaming these two files, so we have to replace the names everywhere. * DOM/WebDOMOperations.mm: * ForwardingHeaders/runtime/JSCJSValue.h: Copied from Source/WebKit/mac/ForwardingHeaders/runtime/JSValue.h. * ForwardingHeaders/runtime/JSValue.h: Removed. * WebView/WebFrame.mm: * WebView/WebView.mm: Source/WebKit/win: We're renaming these two files, so we have to replace the names everywhere. * WebFrame.cpp: * WebView.cpp: Source/WebKit/wx: We're renaming these two files, so we have to replace the names everywhere. * WebFrame.cpp: * WebView.cpp: Source/WebKit2: We're renaming these two files, so we have to replace the names everywhere. * WebProcess/WebPage/WebPage.cpp: Canonical link: https://commits.webkit.org/126043@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140718 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 2319993 commit 7132a97

117 files changed

Lines changed: 327 additions & 140 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Source/JavaScriptCore/API/APICast.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
#define APICast_h
2828

2929
#include "JSAPIValueWrapper.h"
30+
#include "JSCJSValue.h"
3031
#include "JSGlobalObject.h"
31-
#include "JSValue.h"
3232
#include <wtf/UnusedParam.h>
3333

3434
namespace JSC {

‎Source/JavaScriptCore/API/JSBlockAdaptor.mm‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#import "JSBlockAdaptor.h"
3535
#import "JSContextInternal.h"
3636
#import "JSWrapperMap.h"
37-
#import "JSValue.h"
37+
#import "JSCJSValue.h"
3838
#import "JSValueInternal.h"
3939
#import "ObjcRuntimeExtras.h"
4040
#import "Operations.h"

‎Source/JavaScriptCore/API/JSStringRefCF.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#include "InitializeThreading.h"
3131
#include "JSStringRef.h"
3232
#include "OpaqueJSString.h"
33-
#include <runtime/JSValue.h>
33+
#include <runtime/JSCJSValue.h>
3434
#include <wtf/OwnArrayPtr.h>
3535

3636
JSStringRef JSStringCreateWithCFString(CFStringRef string)

‎Source/JavaScriptCore/API/JSValue.mm‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#import "JSWrapperMap.h"
3636
#import "ObjcRuntimeExtras.h"
3737
#import "Operations.h"
38-
#import "JSValue.h"
38+
#import "JSCJSValue.h"
3939
#import "wtf/HashMap.h"
4040
#import "wtf/HashSet.h"
4141
#import "wtf/Vector.h"

‎Source/JavaScriptCore/API/JSValueInternal.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525

2626
#import <JavaScriptCore/JavaScriptCore.h>
27-
#import "APIJSValue.h"
27+
#import "JSValue.h"
2828

2929
#if JS_OBJC_API_ENABLED
3030

‎Source/JavaScriptCore/API/JSValueRef.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
#include "APIShims.h"
3131
#include "JSCallbackObject.h"
3232

33+
#include <runtime/JSCJSValue.h>
3334
#include <runtime/JSGlobalObject.h>
3435
#include <runtime/JSONObject.h>
3536
#include <runtime/JSString.h>
3637
#include <runtime/LiteralParser.h>
3738
#include <runtime/Operations.h>
3839
#include <runtime/Protect.h>
39-
#include <runtime/JSValue.h>
4040

4141
#include <wtf/Assertions.h>
4242
#include <wtf/text/StringHash.h>

‎Source/JavaScriptCore/API/JSWeakObjectMapRefPrivate.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828

2929
#include "APICast.h"
3030
#include "APIShims.h"
31+
#include "JSCJSValue.h"
3132
#include "JSCallbackObject.h"
32-
#include "JSValue.h"
3333
#include "JSWeakObjectMapRefInternal.h"
3434
#include "Operations.h"
3535
#include <wtf/HashMap.h>

‎Source/JavaScriptCore/API/JavaScriptCore.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#if defined(__OBJC__) && JS_OBJC_API_ENABLED
3333

3434
#import "JSContext.h"
35-
#import "APIJSValue.h"
35+
#import "JSValue.h"
3636
#import "JSVirtualMachine.h"
3737
#import "JSExport.h"
3838

‎Source/JavaScriptCore/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ set(JavaScriptCore_SOURCES
247247
runtime/JSString.cpp
248248
runtime/JSStringJoiner.cpp
249249
runtime/JSSymbolTableObject.cpp
250-
runtime/JSValue.cpp
250+
runtime/JSCJSValue.cpp
251251
runtime/JSVariableObject.cpp
252252
runtime/JSWrapperObject.cpp
253253
runtime/LiteralParser.cpp

0 commit comments

Comments
 (0)