Changeset 240641 in webkit for trunk/Source/JavaScriptCore
- Timestamp:
- Jan 28, 2019, 10:00:30 PM (6 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/JSWeakObjectMapRefPrivate.cpp
r239535 r240641 35 35 #include "WeakGCMapInlines.h" 36 36 37 using namespace WTF;38 37 using namespace JSC; 39 38 -
trunk/Source/JavaScriptCore/ChangeLog
r240637 r240641 1 2019-01-28 Ross Kirsling <[email protected]> 2 3 Remove unnecessary `using namespace WTF`s (or at least restrict their scope). 4 https://bugs.webkit.org/show_bug.cgi?id=193941 5 6 Reviewed by Alex Christensen. 7 8 * API/JSWeakObjectMapRefPrivate.cpp: 9 * bytecompiler/NodesCodegen.cpp: 10 * heap/MachineStackMarker.cpp: 11 * jit/ExecutableAllocator.cpp: 12 * jsc.cpp: 13 * parser/Nodes.cpp: 14 * runtime/DateConstructor.cpp: 15 * runtime/DateConversion.cpp: 16 * runtime/DateInstance.cpp: 17 * runtime/DatePrototype.cpp: 18 * runtime/InitializeThreading.cpp: 19 * runtime/IteratorOperations.cpp: 20 * runtime/JSDateMath.cpp: 21 * runtime/JSGlobalObjectFunctions.cpp: 22 * runtime/StringPrototype.cpp: 23 * runtime/VM.cpp: 24 * testRegExp.cpp: 25 * tools/JSDollarVM.cpp: 26 * yarr/YarrInterpreter.cpp: 27 * yarr/YarrJIT.cpp: 28 * yarr/YarrPattern.cpp: 29 * yarr/YarrUnicodeProperties.cpp: 30 1 31 2019-01-28 Yusuke Suzuki <[email protected]> 2 32 -
trunk/Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp
r239761 r240641 45 45 #include <wtf/Threading.h> 46 46 #include <wtf/text/StringBuilder.h> 47 48 using namespace WTF;49 47 50 48 namespace JSC { -
trunk/Source/JavaScriptCore/heap/MachineStackMarker.cpp
r237173 r240641 30 30 #include <wtf/PageBlock.h> 31 31 #include <wtf/StdLibExtras.h> 32 33 using namespace WTF;34 32 35 33 namespace JSC { -
trunk/Source/JavaScriptCore/jit/ExecutableAllocator.cpp
r238564 r240641 83 83 #endif 84 84 85 namespace JSC { 86 85 87 using namespace WTF; 86 87 namespace JSC {88 88 89 89 #if defined(FIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB) && FIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB > 0 -
trunk/Source/JavaScriptCore/jsc.cpp
r240557 r240641 158 158 159 159 using namespace JSC; 160 using namespace WTF;161 160 162 161 namespace { -
trunk/Source/JavaScriptCore/parser/Nodes.cpp
r233937 r240641 32 32 #include <wtf/Assertions.h> 33 33 34 using namespace WTF;35 36 34 namespace JSC { 37 35 -
trunk/Source/JavaScriptCore/runtime/DateConstructor.cpp
r236697 r240641 44 44 #endif 45 45 46 using namespace WTF;47 48 46 namespace JSC { 49 47 … … 56 54 57 55 namespace JSC { 56 57 using namespace WTF; 58 58 59 59 const ClassInfo DateConstructor::s_info = { "Function", &InternalFunction::s_info, &dateConstructorTable, nullptr, CREATE_METHOD_TABLE(DateConstructor) }; -
trunk/Source/JavaScriptCore/runtime/DateConversion.cpp
r217771 r240641 36 36 #endif 37 37 38 namespace JSC { 39 38 40 using namespace WTF; 39 40 namespace JSC {41 41 42 42 template<int width> -
trunk/Source/JavaScriptCore/runtime/DateInstance.cpp
r217108 r240641 29 29 #include <wtf/MathExtras.h> 30 30 31 namespace JSC { 32 31 33 using namespace WTF; 32 33 namespace JSC {34 34 35 35 const ClassInfo DateInstance::s_info = {"Date", &JSWrapperObject::s_info, nullptr, nullptr, CREATE_METHOD_TABLE(DateInstance)}; -
trunk/Source/JavaScriptCore/runtime/DatePrototype.cpp
r236697 r240641 68 68 #endif 69 69 70 namespace JSC { 71 70 72 using namespace WTF; 71 72 namespace JSC {73 73 74 74 EncodedJSValue JSC_HOST_CALL dateProtoFuncGetDate(ExecState*); -
trunk/Source/JavaScriptCore/runtime/InitializeThreading.cpp
r234171 r240641 50 50 #include <wtf/dtoa/cached-powers.h> 51 51 52 using namespace WTF;53 54 52 namespace JSC { 55 53 -
trunk/Source/JavaScriptCore/runtime/IteratorOperations.cpp
r233740 r240641 33 33 #include "ObjectConstructor.h" 34 34 35 using namespace WTF;36 37 35 namespace JSC { 38 36 -
trunk/Source/JavaScriptCore/runtime/JSDateMath.cpp
r232089 r240641 99 99 #endif 100 100 101 namespace JSC { 102 101 103 using namespace WTF; 102 103 namespace JSC {104 104 105 105 static inline double timeToMS(double hour, double min, double sec, double ms) -
trunk/Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp
r239256 r240641 58 58 #include <wtf/unicode/UTF8Conversion.h> 59 59 60 using namespace WTF;61 using namespace Unicode;62 63 60 namespace JSC { 61 62 using namespace WTF::Unicode; 64 63 65 64 const ASCIILiteral ObjectProtoCalledOnNullOrUndefinedError { "Object.prototype.__proto__ called on null or undefined"_s }; -
trunk/Source/JavaScriptCore/runtime/StringPrototype.cpp
r240593 r240641 55 55 #include <wtf/text/StringView.h> 56 56 #include <wtf/unicode/Collator.h> 57 58 using namespace WTF;59 57 60 58 namespace JSC { -
trunk/Source/JavaScriptCore/runtime/VM.cpp
r240637 r240641 171 171 #endif 172 172 173 using namespace WTF;174 175 173 namespace JSC { 176 174 -
trunk/Source/JavaScriptCore/testRegExp.cpp
r229309 r240641 49 49 50 50 using namespace JSC; 51 using namespace WTF;52 51 53 52 struct CommandLine { -
trunk/Source/JavaScriptCore/tools/JSDollarVM.cpp
r240637 r240641 58 58 59 59 using namespace JSC; 60 using namespace WTF;61 60 62 61 namespace { -
trunk/Source/JavaScriptCore/yarr/YarrInterpreter.cpp
r234916 r240641 38 38 #include <wtf/text/WTFString.h> 39 39 40 using namespace WTF;41 42 40 namespace JSC { namespace Yarr { 43 41 … … 1656 1654 unsigned* output; 1657 1655 InputStream input; 1658 BumpPointerPool* allocatorPool { nullptr };1656 WTF::BumpPointerPool* allocatorPool { nullptr }; 1659 1657 unsigned startOffset; 1660 1658 unsigned remainingMatchCount; -
trunk/Source/JavaScriptCore/yarr/YarrJIT.cpp
r239427 r240641 36 36 37 37 #if ENABLE(YARR_JIT) 38 39 using namespace WTF;40 38 41 39 namespace JSC { namespace Yarr { -
trunk/Source/JavaScriptCore/yarr/YarrPattern.cpp
r239427 r240641 38 38 #include <wtf/Vector.h> 39 39 #include <wtf/text/WTFString.h> 40 41 using namespace WTF;42 40 43 41 namespace JSC { namespace Yarr { -
trunk/Source/JavaScriptCore/yarr/YarrUnicodeProperties.cpp
r239427 r240641 29 29 #include "Yarr.h" 30 30 #include "YarrPattern.h" 31 32 using namespace WTF;33 31 34 32 namespace JSC { namespace Yarr {
Note:
See TracChangeset
for help on using the changeset viewer.