Changeset 236505 in webkit
- Timestamp:
- Sep 26, 2018, 9:12:42 AM (8 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
runtime/ArrayPrototype.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r236499 r236505 1 2018-09-26 Yusuke Suzuki <yusukesuzuki@slowstart.org> 2 3 Unreviewed, add scope verification handling 4 https://bugs.webkit.org/show_bug.cgi?id=189780 5 6 * runtime/ArrayPrototype.cpp: 7 (JSC::arrayProtoFuncIndexOf): 8 (JSC::arrayProtoFuncLastIndexOf): 9 1 10 2018-09-26 Koby Boyango <koby.b@mce.systems> 2 11 -
trunk/Source/JavaScriptCore/runtime/ArrayPrototype.cpp
r236496 r236505 1270 1270 1271 1271 if (isJSArray(thisObject)) { 1272 if (JSValue result = fastIndexOf<IndexOfDirection::Forward>(exec, vm, asArray(thisObject), length, searchElement, index)) 1272 JSValue result = fastIndexOf<IndexOfDirection::Forward>(exec, vm, asArray(thisObject), length, searchElement, index); 1273 RETURN_IF_EXCEPTION(scope, { }); 1274 if (result) 1273 1275 return JSValue::encode(result); 1274 1276 } … … 1319 1321 1320 1322 if (isJSArray(thisObject)) { 1321 if (JSValue result = fastIndexOf<IndexOfDirection::Backward>(exec, vm, asArray(thisObject), length, searchElement, index)) 1323 JSValue result = fastIndexOf<IndexOfDirection::Backward>(exec, vm, asArray(thisObject), length, searchElement, index); 1324 RETURN_IF_EXCEPTION(scope, { }); 1325 if (result) 1322 1326 return JSValue::encode(result); 1323 1327 }
Note:
See TracChangeset
for help on using the changeset viewer.