Title: [231976] trunk/Source/_javascript_Core
- Revision
- 231976
- Author
- [email protected]
- Date
- 2018-05-18 11:55:35 -0700 (Fri, 18 May 2018)
Log Message
Unreviewed, fix exception checking, part 2
https://bugs.webkit.org/show_bug.cgi?id=185350
* dfg/DFGOperations.cpp:
(JSC::DFG::putByValInternal):
* jit/JITOperations.cpp:
* runtime/CommonSlowPaths.h:
(JSC::CommonSlowPaths::putDirectAccessorWithReify):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (231975 => 231976)
--- trunk/Source/_javascript_Core/ChangeLog 2018-05-18 18:45:34 UTC (rev 231975)
+++ trunk/Source/_javascript_Core/ChangeLog 2018-05-18 18:55:35 UTC (rev 231976)
@@ -1,3 +1,14 @@
+2018-05-18 Yusuke Suzuki <[email protected]>
+
+ Unreviewed, fix exception checking, part 2
+ https://bugs.webkit.org/show_bug.cgi?id=185350
+
+ * dfg/DFGOperations.cpp:
+ (JSC::DFG::putByValInternal):
+ * jit/JITOperations.cpp:
+ * runtime/CommonSlowPaths.h:
+ (JSC::CommonSlowPaths::putDirectAccessorWithReify):
+
2018-05-16 Filip Pizlo <[email protected]>
JSC should have InstanceOf inline caching
Modified: trunk/Source/_javascript_Core/dfg/DFGOperations.cpp (231975 => 231976)
--- trunk/Source/_javascript_Core/dfg/DFGOperations.cpp 2018-05-18 18:45:34 UTC (rev 231975)
+++ trunk/Source/_javascript_Core/dfg/DFGOperations.cpp 2018-05-18 18:55:35 UTC (rev 231976)
@@ -145,6 +145,7 @@
baseObject->putDirectIndex(exec, index.value(), value, 0, strict ? PutDirectIndexShouldThrow : PutDirectIndexShouldNotThrow);
return;
}
+ scope.release();
CommonSlowPaths::putDirectWithReify(vm, exec, baseObject, propertyName, value, slot);
return;
}
Modified: trunk/Source/_javascript_Core/jit/JITOperations.cpp (231975 => 231976)
--- trunk/Source/_javascript_Core/jit/JITOperations.cpp 2018-05-18 18:45:34 UTC (rev 231975)
+++ trunk/Source/_javascript_Core/jit/JITOperations.cpp 2018-05-18 18:55:35 UTC (rev 231976)
@@ -711,6 +711,7 @@
if (byValInfo->stubInfo && (!isStringOrSymbol(subscript) || byValInfo->cachedId != property))
byValInfo->tookSlowPath = true;
+ scope.release();
PutPropertySlot slot(baseObject, isStrictMode);
CommonSlowPaths::putDirectWithReify(vm, callFrame, baseObject, property, value, slot);
}
Modified: trunk/Source/_javascript_Core/runtime/CommonSlowPaths.h (231975 => 231976)
--- trunk/Source/_javascript_Core/runtime/CommonSlowPaths.h 2018-05-18 18:45:34 UTC (rev 231975)
+++ trunk/Source/_javascript_Core/runtime/CommonSlowPaths.h 2018-05-18 18:55:35 UTC (rev 231976)
@@ -242,7 +242,6 @@
{
auto scope = DECLARE_THROW_SCOPE(vm);
if (baseObject->inherits<JSFunction>(vm)) {
- auto scope = DECLARE_THROW_SCOPE(vm);
jsCast<JSFunction*>(baseObject)->reifyLazyPropertyIfNeeded(vm, exec, propertyName);
RETURN_IF_EXCEPTION(scope, void());
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes