haikuwebkit/Source/JavaScriptCore/tools
Tadeu Zagallo ee0e12acf0 putInlineFastReplacingStaticPropertyIfNeeded should handle custom values
https://bugs.webkit.org/show_bug.cgi?id=227963

Reviewed by Alexey Shvayka.

JSTests:

* stress/reflect-set-custom-value.js:

Source/JavaScriptCore:

Follow up after r280463: as it turns out, putInlineFastReplacingStaticPropertyIfNeeded also needs to handle
custom values, similar to how definePropertyOnReceiverSlow was updated. This function will be called when the
target property of the receiver is a custom value and isn't reified. The previous test case was expanded to
test both the reified and non-reified cases.

* runtime/JSObject.cpp:
(JSC::JSObject::putInlineFastReplacingStaticPropertyIfNeeded):
* tools/JSDollarVM.cpp:


Canonical link: https://commits.webkit.org/240137@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280505 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-07-31 01:33:44 +00:00
..
CellList.cpp
CellList.h
CellProfile.h
CompilerTimingScope.cpp When running with --reportTotalPhaseTimes=1, we should also log the max time in a phase 2021-05-25 00:03:46 +00:00
CompilerTimingScope.h
FunctionAllowlist.cpp
FunctionAllowlist.h
FunctionOverrides.cpp Use UncheckedLock even less in JavaScriptCore 2021-05-26 18:35:03 +00:00
FunctionOverrides.h Use UncheckedLock even less in JavaScriptCore 2021-05-26 18:35:03 +00:00
HeapVerifier.cpp Stop using UncheckedLock in JSC::VMInspector 2021-05-30 06:51:57 +00:00
HeapVerifier.h
Integrity.cpp Stop using holdLock() in JSC as it is not compatible with Clang thread safety analysis 2021-05-22 03:13:17 +00:00
Integrity.h
IntegrityInlines.h
JSDollarVM.cpp putInlineFastReplacingStaticPropertyIfNeeded should handle custom values 2021-07-31 01:33:44 +00:00
JSDollarVM.h Implement a GC verifier. 2021-02-19 15:51:15 +00:00
ProfileTreeNode.h
SigillCrashAnalyzer.cpp Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
SigillCrashAnalyzer.h
TieredMMapArray.h
VMInspector.cpp Stop using UncheckedLock in JSC::VMInspector 2021-05-30 06:51:57 +00:00
VMInspector.h Stop using UncheckedLock in JSC::VMInspector 2021-05-30 06:51:57 +00:00
VMInspectorInlines.h