haikuwebkit/Source/JavaScriptCore/jit
Yusuke Suzuki 31407a67a8 [JSC] emitArrayProfilingSiteWithCell should not load indexingType unnecessarily
https://bugs.webkit.org/show_bug.cgi?id=229396

Reviewed by Saam Barati.

emitArrayProfilingSiteWithCell is always loading indexingType after profiling a cell.
But (possibly) this is old code, and there is no reason to do that. This patch removes it.

* jit/JIT.h:
* jit/JITInlines.h:
(JSC::JIT::emitArrayProfilingSiteWithCell):
* jit/JITPropertyAccess.cpp:
(JSC::JIT::emit_op_get_by_val):
(JSC::JIT::emit_op_put_by_val):
(JSC::JIT::emit_op_get_by_id):
(JSC::JIT::emit_op_in_by_val):
(JSC::JIT::emit_op_enumerator_get_by_val):
* jit/JITPropertyAccess32_64.cpp:
(JSC::JIT::emit_op_get_by_val):
(JSC::JIT::emit_op_put_by_val):
(JSC::JIT::emit_op_get_by_id):
(JSC::JIT::emit_op_in_by_val):


Canonical link: https://commits.webkit.org/240836@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281454 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-23 17:36:45 +00:00
..
AssemblyHelpers.cpp [JSC] Simplify moveIntsToDouble 2021-08-21 00:54:50 +00:00
AssemblyHelpers.h [JSC] Simplify moveIntsToDouble 2021-08-21 00:54:50 +00:00
AssemblyHelpersSpoolers.h Use ldp and stp more for saving / restoring registers on ARM64. 2021-06-25 00:06:56 +00:00
BaselineJITPlan.cpp Merge all the JIT worklists into a shared worklist 2021-05-26 15:15:22 +00:00
BaselineJITPlan.h Merge all the JIT worklists into a shared worklist 2021-05-26 15:15:22 +00:00
BinarySwitch.cpp
BinarySwitch.h
CCallHelpers.cpp [JSC] Use DataIC for AccessCase 2021-06-09 11:17:36 +00:00
CCallHelpers.h [JSC] Use DataIC for AccessCase 2021-06-09 11:17:36 +00:00
CachedRecovery.cpp
CachedRecovery.h
CallFrameShuffleData.cpp
CallFrameShuffleData.h [JSC] Shrink some of Vectors in JSC 2021-04-06 04:25:33 +00:00
CallFrameShuffler.cpp Add extra validation after untagging code pointers. 2020-12-11 18:49:31 +00:00
CallFrameShuffler.h Non-unified build fixes, early August 20202 edition 2020-08-03 16:42:33 +00:00
CallFrameShuffler32_64.cpp
CallFrameShuffler64.cpp Rename zeroExtend32ToPtr to zeroExtend32ToWord 2020-07-01 23:50:37 +00:00
ExecutableAllocationFuzz.cpp Unreviewed, reverting r279916. 2021-07-16 22:18:46 +00:00
ExecutableAllocationFuzz.h
ExecutableAllocator.cpp Add Pre/Post-Indexed Address Mode to Air for ARM64 2021-07-30 20:44:47 +00:00
ExecutableAllocator.h New malloc algorithm 2021-07-13 07:39:34 +00:00
ExecutableMemoryHandle.h libpas executable-allocator should reserve more than 256KB for non-fail region at least 2021-07-14 18:31:09 +00:00
FPRInfo.h
GCAwareJITStubRoutine.cpp Revert r277027: breaks GC. 2021-07-13 01:47:47 +00:00
GCAwareJITStubRoutine.h [JSC] Use DataIC for AccessCase 2021-06-09 11:17:36 +00:00
GPRInfo.cpp
GPRInfo.h [JSC] Use DataIC for AccessCase 2021-06-09 11:17:36 +00:00
HashableRegisterSet.h RegisterSet should be smaller 2021-06-16 18:08:37 +00:00
ICStats.cpp Replace LockHolder with Locker in local variables 2021-05-22 16:49:42 +00:00
ICStats.h [JSC] Implement JIT ICs for InByVal 2021-06-04 03:10:54 +00:00
IntrinsicEmitter.cpp super should not depend on __proto__ 2020-06-15 14:42:43 +00:00
JIT.cpp for-in should only emit one loop in bytecode 2021-08-07 21:38:59 +00:00
JIT.h [JSC] emitArrayProfilingSiteWithCell should not load indexingType unnecessarily 2021-08-23 17:36:45 +00:00
JITAddGenerator.cpp [JSC] Simplify moveIntsToDouble 2021-08-21 00:54:50 +00:00
JITAddGenerator.h [JSC] Simplify moveIntsToDouble 2021-08-21 00:54:50 +00:00
JITAllocator.h
JITArithmetic.cpp [JSC] Simplify moveIntsToDouble 2021-08-21 00:54:50 +00:00
JITArithmetic32_64.cpp
JITBitAndGenerator.cpp
JITBitAndGenerator.h
JITBitBinaryOpGenerator.h
JITBitOrGenerator.cpp
JITBitOrGenerator.h
JITBitXorGenerator.cpp
JITBitXorGenerator.h
JITCall.cpp GCC 11 builds should use -Wno-array-bounds, -Wno-nonnull 2021-08-05 15:27:03 +00:00
JITCall32_64.cpp [JSC] Use DataIC for AccessCase 2021-06-09 11:17:36 +00:00
JITCode.cpp Unreviewed, reland r268170 2020-10-09 05:08:11 +00:00
JITCode.h Unreviewed, reverting r278699. 2021-06-19 07:19:27 +00:00
JITCodeInlines.h
JITCodeMap.h Unreviewed, revert r276610 because it causes a 1% PLT regression. 2021-05-24 19:29:38 +00:00
JITCompilation.cpp [JSC] Implement a B3::Compilation replacement for wasm-llint 2021-01-19 00:24:52 +00:00
JITCompilation.h [JSC] Implement a B3::Compilation replacement for wasm-llint 2021-01-19 00:24:52 +00:00
JITCompilationEffort.h
JITCompilationKey.cpp Merge all the JIT worklists into a shared worklist 2021-05-26 15:15:22 +00:00
JITCompilationKey.h Merge all the JIT worklists into a shared worklist 2021-05-26 15:15:22 +00:00
JITCompilationMode.cpp Merge all the JIT worklists into a shared worklist 2021-05-26 15:15:22 +00:00
JITCompilationMode.h Merge all the JIT worklists into a shared worklist 2021-05-26 15:15:22 +00:00
JITDisassembler.cpp
JITDisassembler.h
JITDivGenerator.cpp [JSC] Simplify moveIntsToDouble 2021-08-21 00:54:50 +00:00
JITDivGenerator.h
JITExceptions.cpp Unreviewed, reland r268170 2020-10-09 05:08:11 +00:00
JITExceptions.h
JITInlineCacheGenerator.cpp [JSC] Add JIT ICs for `#x in obj` feature 2021-06-22 06:41:14 +00:00
JITInlineCacheGenerator.h [JSC] Add JIT ICs for `#x in obj` feature 2021-06-22 06:41:14 +00:00
JITInlines.h [JSC] emitArrayProfilingSiteWithCell should not load indexingType unnecessarily 2021-08-23 17:36:45 +00:00
JITLeftShiftGenerator.cpp
JITLeftShiftGenerator.h
JITMathIC.h Add support to collect stats on cumulative LinkBuffer linked sizes based on profiles. 2021-05-10 23:21:41 +00:00
JITMathICForwards.h
JITMathICInlineResult.h
JITMulGenerator.cpp [JSC] Simplify moveIntsToDouble 2021-08-21 00:54:50 +00:00
JITMulGenerator.h [JSC] Simplify moveIntsToDouble 2021-08-21 00:54:50 +00:00
JITNegGenerator.cpp
JITNegGenerator.h
JITOpaqueByproduct.h [JSC] Implement a B3::Compilation replacement for wasm-llint 2021-01-19 00:24:52 +00:00
JITOpaqueByproducts.cpp [JSC] Implement a B3::Compilation replacement for wasm-llint 2021-01-19 00:24:52 +00:00
JITOpaqueByproducts.h [JSC] Implement a B3::Compilation replacement for wasm-llint 2021-01-19 00:24:52 +00:00
JITOpcodes.cpp [JSC] Remove op_has_indexed_property related code 2021-08-19 03:42:16 +00:00
JITOpcodes32_64.cpp [JSC] Remove op_has_indexed_property related code 2021-08-19 03:42:16 +00:00
JITOperations.cpp [JSC] Remove op_has_indexed_property related code 2021-08-19 03:42:16 +00:00
JITOperations.h [JSC] Remove op_has_indexed_property related code 2021-08-19 03:42:16 +00:00
JITPlan.cpp Fix more GCC warnings 2021-06-04 15:03:00 +00:00
JITPlan.h Merge all the JIT worklists into a shared worklist 2021-05-26 15:15:22 +00:00
JITPlanStage.h Merge all the JIT worklists into a shared worklist 2021-05-26 15:15:22 +00:00
JITPropertyAccess.cpp [JSC] emitArrayProfilingSiteWithCell should not load indexingType unnecessarily 2021-08-23 17:36:45 +00:00
JITPropertyAccess32_64.cpp [JSC] emitArrayProfilingSiteWithCell should not load indexingType unnecessarily 2021-08-23 17:36:45 +00:00
JITRightShiftGenerator.cpp [JSC] Simplify moveIntsToDouble 2021-08-21 00:54:50 +00:00
JITRightShiftGenerator.h [JSC] Simplify moveIntsToDouble 2021-08-21 00:54:50 +00:00
JITSafepoint.cpp Drop UncheckedCondition / UncheckedLock 2021-05-30 20:35:59 +00:00
JITSafepoint.h Merge all the JIT worklists into a shared worklist 2021-05-26 15:15:22 +00:00
JITScannable.h Merge all the JIT worklists into a shared worklist 2021-05-26 15:15:22 +00:00
JITSizeStatistics.cpp Non-unified build fixes, late-ish May 2021 edition redux 2021-05-29 10:09:19 +00:00
JITSizeStatistics.h Non-unified build fixes, late-ish May 2021 edition redux 2021-05-29 10:09:19 +00:00
JITStubRoutine.cpp
JITStubRoutine.h Revert r277027: breaks GC. 2021-07-13 01:47:47 +00:00
JITStubsMSVC64.asm [JSC] We should not tag C function with JIT code related ptr tag 2020-10-01 05:15:14 +00:00
JITSubGenerator.cpp [JSC] Simplify moveIntsToDouble 2021-08-21 00:54:50 +00:00
JITSubGenerator.h [JSC] Simplify moveIntsToDouble 2021-08-21 00:54:50 +00:00
JITThunks.cpp Allow CTI stubs to be generated off the main thread 2021-05-24 22:34:19 +00:00
JITThunks.h Allow CTI stubs to be generated off the main thread 2021-05-24 22:34:19 +00:00
JITToDFGDeferredCompilationCallback.cpp
JITToDFGDeferredCompilationCallback.h
JITWorklist.cpp JITWorklist::waitUntilAllPlansForVMAreReady() should also be notified when plans are cancelled. 2021-07-15 20:42:53 +00:00
JITWorklist.h JITWorklist::waitUntilAllPlansForVMAreReady() should also be notified when plans are cancelled. 2021-07-15 20:42:53 +00:00
JITWorklistInlines.h Merge all the JIT worklists into a shared worklist 2021-05-26 15:15:22 +00:00
JITWorklistThread.cpp JITWorklist::waitUntilAllPlansForVMAreReady() should also be notified when plans are cancelled. 2021-07-15 20:42:53 +00:00
JITWorklistThread.h Drop UncheckedCondition / UncheckedLock 2021-05-30 20:35:59 +00:00
JSInterfaceJIT.h Rename zeroExtend32ToPtr to zeroExtend32ToWord 2020-07-01 23:50:37 +00:00
PCToCodeOriginMap.cpp Remove <wtf/Optional.h> 2021-06-02 06:45:51 +00:00
PCToCodeOriginMap.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
PolymorphicCallStubRoutine.cpp [JSC] Use DataIC for AccessCase 2021-06-09 11:17:36 +00:00
PolymorphicCallStubRoutine.h [WTF] Introduce FixedVector and use it for FixedOperands 2021-04-06 19:47:47 +00:00
Reg.cpp
Reg.h [WTF] Remove the unnecessary inner class DefaultHash<T>::Hash 2020-07-17 00:33:37 +00:00
RegisterAtOffset.cpp
RegisterAtOffset.h
RegisterAtOffsetList.cpp [JSC] Use FixedVector more in JSC 2021-04-07 06:48:02 +00:00
RegisterAtOffsetList.h [JSC] Use FixedVector more in JSC 2021-04-07 06:48:02 +00:00
RegisterMap.h
RegisterSet.cpp
RegisterSet.h Properly set numFPRs on ARM with NEON/VFP_V3_D32 2021-06-22 07:56:27 +00:00
Repatch.cpp Unreviewed, reverting r279546, r279554, r279558 and r279567. 2021-07-07 03:12:05 +00:00
Repatch.h [JSC] Add JIT ICs for `#x in obj` feature 2021-06-22 06:41:14 +00:00
ScratchRegisterAllocator.cpp Use ldp and stp more for saving / restoring registers on ARM64. 2021-06-25 00:06:56 +00:00
ScratchRegisterAllocator.h Use ldp and stp more for saving / restoring registers on ARM64. 2021-06-25 00:06:56 +00:00
SetupVarargsFrame.cpp [JSC] Use FixedVector more in bytecode dir and JumpTable 2021-04-07 21:14:57 +00:00
SetupVarargsFrame.h
SlowPathCall.cpp Allow CTI stubs to be generated off the main thread 2021-05-24 22:34:19 +00:00
SlowPathCall.h Implement some common Baseline JIT slow paths using JIT thunks. 2021-05-12 19:11:25 +00:00
Snippet.h
SnippetOperand.h
SnippetParams.h
SnippetReg.h
SnippetSlowPathCalls.h
SpecializedThunkJIT.h Enhance Link Buffer stats to have more fine grain profiles, and to collect count information. 2021-05-23 06:07:01 +00:00
SpillRegistersMode.h
TagRegistersMode.cpp
TagRegistersMode.h
TempRegisterSet.cpp
TempRegisterSet.h
ThunkGenerator.h
ThunkGenerators.cpp [Revert r278576] Put the Baseline JIT prologue and op_loop_hint code in JIT thunks. 2021-06-19 08:25:14 +00:00
ThunkGenerators.h Implement Baseline JIT property access slow paths using JIT thunks. 2021-05-14 18:34:33 +00:00
UnusedPointer.h