Changeset 247175 in webkit
- Timestamp:
- Jul 5, 2019 2:30:31 PM (5 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r247173 r247175 1 2019-07-05 Yusuke Suzuki <ysuzuki@apple.com> 2 3 Unreviewed, fix build failure on ARM64_32 4 https://bugs.webkit.org/show_bug.cgi?id=182434 5 6 Implicit narrowing from uint64_t to uint32_t happens. We should explicitly narrow it because we already checked 7 the `length` is <= UINT32_MAX. 8 9 * runtime/ArrayPrototype.cpp: 10 (JSC::arrayProtoFuncSpeciesCreate): 11 1 12 2019-07-05 Alexey Shvayka <shvaikalesh@gmail.com> 2 13 -
trunk/Source/JavaScriptCore/runtime/ArrayPrototype.cpp
r247173 r247175 285 285 } 286 286 287 RELEASE_AND_RETURN(scope, JSValue::encode(constructEmptyArray(exec, nullptr, length)));287 RELEASE_AND_RETURN(scope, JSValue::encode(constructEmptyArray(exec, nullptr, static_cast<unsigned>(length)))); 288 288 } 289 289
Note: See TracChangeset
for help on using the changeset viewer.