Changeset 284852 in webkit
- Timestamp:
- Oct 25, 2021, 5:34:53 PM (5 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
bytecode/InternalFunctionAllocationProfile.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r284851 r284852 1 2021-10-25 Yusuke Suzuki <ysuzuki@apple.com> 2 3 [JSC] Fix stale assertion in InternalFunctionAllocationProfile after r284757 4 https://bugs.webkit.org/show_bug.cgi?id=232269 5 6 Reviewed by Robin Morisset. 7 8 Now, condition in InternalFunction is changed in r284757. We need to update 9 this assertion accordingly. It is tested (and crashing) in the existing stress test[1]. 10 11 [1]: InternalFunctionAllocationProfile-createAllocationStructureFromBase-should-allow-for-same-classInfo-from-different-globals.js 12 13 * bytecode/InternalFunctionAllocationProfile.h: 14 (JSC::InternalFunctionAllocationProfile::createAllocationStructureFromBase): 15 1 16 2021-10-25 Yusuke Suzuki <ysuzuki@apple.com> 2 17 -
trunk/Source/JavaScriptCore/bytecode/InternalFunctionAllocationProfile.h
r273138 r284852 48 48 inline Structure* InternalFunctionAllocationProfile::createAllocationStructureFromBase(VM& vm, JSGlobalObject* baseGlobalObject, JSCell* owner, JSObject* prototype, Structure* baseStructure) 49 49 { 50 ASSERT(!m_structure || m_structure.get()->classInfo() != baseStructure->classInfo() || m_structure->globalObject() != base GlobalObject);50 ASSERT(!m_structure || m_structure.get()->classInfo() != baseStructure->classInfo() || m_structure->globalObject() != baseStructure->globalObject()); 51 51 ASSERT(baseStructure->hasMonoProto()); 52 52
Note:
See TracChangeset
for help on using the changeset viewer.