Changeset 190927 in webkit
- Timestamp:
- Oct 12, 2015 11:30:02 PM (9 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r190923 r190927 1 2015-10-12 Yusuke Suzuki <utatane.tea@gmail.com> 2 3 Unreviewed, register symbol structure to fix Debug build 4 https://bugs.webkit.org/show_bug.cgi?id=149622 5 6 Since InferredTypes for String or Symbol claim that they don't have any structure, 7 `registerInferredType` does not register the structure for Symbol. 8 We take the similar way to String to fix this issue; Registering Symbol structure 9 explicitly in DFGStructureRegisterationPhase. Because, 10 11 1. InferredType::structure is only allowed for ObjectWithStructure / ObjectWithStructureOrOther. 12 It looks clear to me that only ObjectWithStructure has structure. 13 2. Symbol is similar primitive value to String. So handling its structure in similar way to String is nice. 14 15 * dfg/DFGStructureRegistrationPhase.cpp: 16 (JSC::DFG::StructureRegistrationPhase::run): 17 1 18 2015-10-12 Yusuke Suzuki <utatane.tea@gmail.com> 2 19 -
trunk/Source/JavaScriptCore/dfg/DFGStructureRegistrationPhase.cpp
r188545 r190927 62 62 registerStructure(m_graph.m_vm.structureStructure.get()); 63 63 registerStructure(m_graph.m_vm.stringStructure.get()); 64 registerStructure(m_graph.m_vm.symbolStructure.get()); 64 65 registerStructure(m_graph.m_vm.getterSetterStructure.get()); 65 66
Note: See TracChangeset
for help on using the changeset viewer.