Changeset 277118 in webkit
- Timestamp:
- May 6, 2021 1:55:29 PM (3 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r277117 r277118 1 2021-05-06 Filip Pizlo <fpizlo@apple.com> 2 3 Make some things easier to dataLog in wasm 4 https://bugs.webkit.org/show_bug.cgi?id=225472 5 6 Reviewed by Yusuke Suzuki. 7 8 * wasm/WasmMemoryMode.cpp: 9 (WTF::printInternal): 10 * wasm/WasmMemoryMode.h: 11 * wasm/WasmWorklist.cpp: 12 (JSC::Wasm::Worklist::dump const): 13 * wasm/WasmWorklist.h: 14 1 15 2021-05-06 Filip Pizlo <fpizlo@apple.com> 2 16 -
trunk/Source/JavaScriptCore/wasm/WasmMemoryMode.cpp
r269974 r277118 1 1 /* 2 * Copyright (C) 2016-20 17Apple Inc. All rights reserved.2 * Copyright (C) 2016-2021 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 30 30 31 31 #include <wtf/Assertions.h> 32 #include <wtf/PrintStream.h> 32 33 33 34 namespace JSC { namespace Wasm { … … 55 56 } } // namespace JSC::Wasm 56 57 58 namespace WTF { 59 60 void printInternal(PrintStream& out, JSC::Wasm::MemoryMode mode) 61 { 62 out.print(JSC::Wasm::makeString(mode)); 63 } 64 65 void printInternal(PrintStream& out, JSC::Wasm::MemorySharingMode mode) 66 { 67 out.print(JSC::Wasm::makeString(mode)); 68 } 69 70 } // namespace WTF 71 57 72 #endif // ENABLE(WEBASSEMBLY) -
trunk/Source/JavaScriptCore/wasm/WasmMemoryMode.h
r269974 r277118 1 1 /* 2 * Copyright (C) 2017 Apple Inc. All rights reserved.2 * Copyright (C) 2017-2021 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 50 50 } } // namespace JSC::Wasm 51 51 52 namespace WTF { 53 54 class PrintStream; 55 void printInternal(PrintStream&, JSC::Wasm::MemoryMode); 56 void printInternal(PrintStream&, JSC::Wasm::MemorySharingMode); 57 58 } // namespace WTF 59 52 60 #endif // ENABLE(WEBASSEMBLY) -
trunk/Source/JavaScriptCore/wasm/WasmWorklist.cpp
r262402 r277118 1 1 /* 2 * Copyright (C) 2017-20 19Apple Inc. All rights reserved.2 * Copyright (C) 2017-2021 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 50 50 } 51 51 52 void Worklist::dump(PrintStream& out) const 53 { 54 out.print("Queue Size = ", m_queue.size()); 55 } 56 52 57 // The Thread class is designed to prevent threads from blocking when there is still work 53 58 // in the queue. Wasm's Plans have some phases, Validiation, Preparation, and Completion, -
trunk/Source/JavaScriptCore/wasm/WasmWorklist.h
r233123 r277118 1 1 /* 2 * Copyright (C) 2017 Apple Inc. All rights reserved.2 * Copyright (C) 2017-2021 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 31 31 32 32 #include <wtf/AutomaticThread.h> 33 #include <wtf/PrintStream.h> 33 34 #include <wtf/PriorityQueue.h> 34 35 #include <wtf/Vector.h> … … 59 60 }; 60 61 const char* priorityString(Priority); 62 63 void dump(PrintStream&) const; 61 64 62 65 private:
Note: See TracChangeset
for help on using the changeset viewer.