Changeset 261464 in webkit for trunk/Source/JavaScriptCore/profiler/ProfilerCompilation.cpp
- Timestamp:
- May 10, 2020, 7:36:05 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/profiler/ProfilerCompilation.cpp
r251425 r261464 122 122 result->putDirect(vm, vm.propertyNames->compilationKind, jsString(vm, String::fromUTF8(toCString(m_kind)))); 123 123 124 JSArray* profiledBytecodes = constructEmptyArray(globalObject, 0);124 JSArray* profiledBytecodes = constructEmptyArray(globalObject, nullptr); 125 125 RETURN_IF_EXCEPTION(scope, { }); 126 126 for (unsigned i = 0; i < m_profiledBytecodes.size(); ++i) { … … 132 132 result->putDirect(vm, vm.propertyNames->profiledBytecodes, profiledBytecodes); 133 133 134 JSArray* descriptions = constructEmptyArray(globalObject, 0);134 JSArray* descriptions = constructEmptyArray(globalObject, nullptr); 135 135 RETURN_IF_EXCEPTION(scope, { }); 136 136 for (unsigned i = 0; i < m_descriptions.size(); ++i) { … … 142 142 result->putDirect(vm, vm.propertyNames->descriptions, descriptions); 143 143 144 JSArray* counters = constructEmptyArray(globalObject, 0);144 JSArray* counters = constructEmptyArray(globalObject, nullptr); 145 145 RETURN_IF_EXCEPTION(scope, { }); 146 146 for (auto it = m_counters.begin(), end = m_counters.end(); it != end; ++it) { … … 156 156 result->putDirect(vm, vm.propertyNames->counters, counters); 157 157 158 JSArray* exitSites = constructEmptyArray(globalObject, 0);158 JSArray* exitSites = constructEmptyArray(globalObject, nullptr); 159 159 RETURN_IF_EXCEPTION(scope, { }); 160 160 for (unsigned i = 0; i < m_osrExitSites.size(); ++i) { … … 166 166 result->putDirect(vm, vm.propertyNames->osrExitSites, exitSites); 167 167 168 JSArray* exits = constructEmptyArray(globalObject, 0);168 JSArray* exits = constructEmptyArray(globalObject, nullptr); 169 169 RETURN_IF_EXCEPTION(scope, { }); 170 170 for (unsigned i = 0; i < m_osrExits.size(); ++i) {
Note:
See TracChangeset
for help on using the changeset viewer.