Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a2ae5819255e50ce1ec7347fa8b708292d61ecf6
https://github.com/WebKit/WebKit/commit/a2ae5819255e50ce1ec7347fa8b708292d61ecf6
Author: Keita Nonaka <[email protected]>
Date: 2025-07-10 (Thu, 10 Jul 2025)
Changed paths:
M Source/JavaScriptCore/bytecode/CallLinkInfo.cpp
M Source/JavaScriptCore/bytecode/CallMode.h
M Source/JavaScriptCore/bytecode/CodeBlock.cpp
M Source/JavaScriptCore/bytecode/CodeBlockHash.cpp
M Source/JavaScriptCore/bytecode/DeferredCompilationCallback.cpp
M Source/JavaScriptCore/bytecode/InlineCallFrame.h
M Source/JavaScriptCore/bytecode/ParseHash.cpp
M Source/JavaScriptCore/bytecode/Repatch.cpp
M Source/JavaScriptCore/bytecode/RepatchInlines.h
M Source/JavaScriptCore/bytecode/UnlinkedFunctionExecutable.cpp
M Source/JavaScriptCore/bytecompiler/BytecodeGenerator.h
M Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp
M Source/JavaScriptCore/dfg/DFGCapabilities.h
M Source/JavaScriptCore/dfg/DFGDriver.cpp
M Source/JavaScriptCore/dfg/DFGJITCode.cpp
M Source/JavaScriptCore/dfg/DFGOperations.cpp
M Source/JavaScriptCore/dfg/DFGPlan.cpp
M Source/JavaScriptCore/dfg/DFGToFTLDeferredCompilationCallback.cpp
M
Source/JavaScriptCore/dfg/DFGToFTLForOSREntryDeferredCompilationCallback.cpp
M Source/JavaScriptCore/inspector/agents/InspectorDebuggerAgent.cpp
M Source/JavaScriptCore/interpreter/Interpreter.cpp
M Source/JavaScriptCore/jit/AssemblyHelpers.cpp
M Source/JavaScriptCore/jit/BaselineJITPlan.cpp
M Source/JavaScriptCore/jit/JIT.cpp
M Source/JavaScriptCore/jit/JITOperations.cpp
M Source/JavaScriptCore/jit/JITToDFGDeferredCompilationCallback.cpp
M Source/JavaScriptCore/jit/JITWorklist.cpp
M Source/JavaScriptCore/jit/ThunkGenerators.cpp
M Source/JavaScriptCore/llint/LLIntEntrypoint.cpp
M Source/JavaScriptCore/llint/LLIntSlowPaths.cpp
M Source/JavaScriptCore/runtime/CachedBytecode.cpp
M Source/JavaScriptCore/runtime/CachedTypes.cpp
M Source/JavaScriptCore/runtime/CodeCache.cpp
M Source/JavaScriptCore/runtime/CodeSpecializationKind.cpp
M Source/JavaScriptCore/runtime/CodeSpecializationKind.h
M Source/JavaScriptCore/runtime/CompilationResult.cpp
M Source/JavaScriptCore/runtime/CompilationResult.h
M Source/JavaScriptCore/runtime/ExecutableBase.h
M Source/JavaScriptCore/runtime/FunctionExecutable.cpp
M Source/JavaScriptCore/runtime/FunctionExecutable.h
M Source/JavaScriptCore/runtime/FunctionExecutableInlines.h
M Source/JavaScriptCore/runtime/InternalFunction.h
M Source/JavaScriptCore/runtime/JSBoundFunction.cpp
M Source/JavaScriptCore/runtime/JSRemoteFunction.cpp
M Source/JavaScriptCore/runtime/NativeExecutable.cpp
M Source/JavaScriptCore/runtime/NativeExecutable.h
M Source/JavaScriptCore/runtime/ScriptExecutable.cpp
M Source/JavaScriptCore/runtime/TestRunnerUtils.cpp
M Source/JavaScriptCore/runtime/VM.cpp
M Source/JavaScriptCore/wasm/WasmOperations.cpp
M Source/JavaScriptCore/wasm/WasmTierUpCount.h
M Source/JavaScriptCore/wasm/js/JSToWasm.cpp
M Source/JavaScriptCore/wasm/js/WebAssemblyFunction.h
Log Message:
-----------
[JSC] Use `enum class` for `CompilationResult`, `CachedCodeBlockTag`,
`CodeSpecializationKind` for Safer C++
https://bugs.webkit.org/show_bug.cgi?id=295459
Reviewed by Yijia Huang and Keith Miller.
This is a refactoring-only patch with no behavior changes.
Use `enum class` for `CompilationResult`, `CachedCodeBlockTag`,
`CodeSpecializationKind` for safer C++ [1].
[1]:
https://github.com/WebKit/WebKit/wiki/Safer-CPP-Guidelines#use-enum-classes-instead-of-old-style-enumerations
Canonical link: https://commits.webkit.org/297204@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes