Changeset 214085 in webkit
- Timestamp:
- Mar 16, 2017 5:51:01 PM (7 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r214084 r214085 1 2017-03-16 Mark Lam <mark.lam@apple.com> 2 3 Fix exception scope verification failures in GenericArgumentsInlines.h. 4 https://bugs.webkit.org/show_bug.cgi?id=165012 5 6 Reviewed by Saam Barati. 7 8 * runtime/GenericArgumentsInlines.h: 9 (JSC::GenericArguments<Type>::defineOwnProperty): 10 1 11 2017-03-16 Simon Fraser <simon.fraser@apple.com> 2 12 -
trunk/Source/JavaScriptCore/runtime/GenericArgumentsInlines.h
r210844 r214085 201 201 Type* thisObject = jsCast<Type*>(object); 202 202 VM& vm = exec->vm(); 203 auto scope = DECLARE_THROW_SCOPE(vm); 203 204 204 205 if (ident == vm.propertyNames->length … … 227 228 ASSERT(value); 228 229 object->putDirectMayBeIndex(exec, ident, value); 229 230 ASSERT(!scope.exception()); 231 230 232 thisObject->setModifiedArgumentDescriptor(vm, index); 231 233 } … … 251 253 252 254 // Now just let the normal object machinery do its thing. 255 scope.release(); 253 256 return Base::defineOwnProperty(object, exec, ident, descriptor, shouldThrow); 254 257 }
Note: See TracChangeset
for help on using the changeset viewer.