Changeset 283229 in webkit for trunk/Source/JavaScriptCore/jit/JIT.cpp
- Timestamp:
- Sep 29, 2021, 9:44:10 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/JIT.cpp
r283139 r283229 78 78 , m_loopOSREntryBytecodeIndex(loopOSREntryBytecodeIndex) 79 79 { 80 m_globalObjectConstant = m_constantPool.add(JITConstantPool::Type::GlobalObject);80 m_globalObjectConstant = addToConstantPool(JITConstantPool::Type::GlobalObject); 81 81 m_profiledCodeBlock = codeBlock; 82 82 m_unlinkedCodeBlock = codeBlock->unlinkedCodeBlock(); … … 85 85 JIT::~JIT() 86 86 { 87 } 88 89 JITConstantPool::Constant JIT::addToConstantPool(JITConstantPool::Type type, void* payload) 90 { 91 unsigned result = m_constantPool.size(); 92 m_constantPool.append(JITConstantPool::Value { payload, type }); 93 return result; 87 94 } 88 95
Note:
See TracChangeset
for help on using the changeset viewer.