Changeset 261797 in webkit
- Timestamp:
- May 17, 2020 10:15:07 PM (4 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r261780 r261797 1 2020-05-17 Lauro Moura <lmoura@igalia.com> 2 3 [JSC] Silence unused-but-set-parameter warnings for older compilers 4 https://bugs.webkit.org/show_bug.cgi?id=212006 5 6 Reviewed by Mark Lam. 7 8 GCC up to 9.x will emit unused-but-set-parameter for the sources 9 parameter when NumberOfRegisters is zero (the if block is eliminated) 10 and for destinations when also ASSERT_ENABLED is false. 11 12 * jit/CCallHelpers.h: 13 (JSC::CCallHelpers::setupStubArgs): 14 1 15 2020-05-16 Yusuke Suzuki <ysuzuki@apple.com> 2 16 -
trunk/Source/JavaScriptCore/jit/CCallHelpers.h
r261754 r261797 106 106 pairs.append(std::make_pair(sources[i], destinations[i])); 107 107 } 108 } else { 109 // Silence some older compilers (GCC up to 9.X) about unused but set parameters. 110 UNUSED_PARAM(sources); 111 UNUSED_PARAM(destinations); 108 112 } 109 113
Note: See TracChangeset
for help on using the changeset viewer.