Title: [139508] trunk/Source/_javascript_Core
- Revision
- 139508
- Author
- [email protected]
- Date
- 2013-01-11 15:09:37 -0800 (Fri, 11 Jan 2013)
Log Message
testapi is failing with a block-related error in the Objc API
https://bugs.webkit.org/show_bug.cgi?id=106055
Reviewed by Filip Pizlo.
Same bug as in testapi.mm. We need to actually call the static block, rather than casting the block to a bool.
* API/ObjCCallbackFunction.mm:
(blockSignatureContainsClass):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/API/ObjCCallbackFunction.mm (139507 => 139508)
--- trunk/Source/_javascript_Core/API/ObjCCallbackFunction.mm 2013-01-11 23:08:04 UTC (rev 139507)
+++ trunk/Source/_javascript_Core/API/ObjCCallbackFunction.mm 2013-01-11 23:09:37 UTC (rev 139508)
@@ -549,7 +549,7 @@
static bool containsClass = ^{
id block = ^(NSString *string){ return string; };
return _Block_has_signature(block) && strstr(_Block_signature(block), "NSString");
- };
+ }();
return containsClass;
}
Modified: trunk/Source/_javascript_Core/ChangeLog (139507 => 139508)
--- trunk/Source/_javascript_Core/ChangeLog 2013-01-11 23:08:04 UTC (rev 139507)
+++ trunk/Source/_javascript_Core/ChangeLog 2013-01-11 23:09:37 UTC (rev 139508)
@@ -1,3 +1,15 @@
+2013-01-11 Mark Hahnenberg <[email protected]>
+
+ testapi is failing with a block-related error in the Objc API
+ https://bugs.webkit.org/show_bug.cgi?id=106055
+
+ Reviewed by Filip Pizlo.
+
+ Same bug as in testapi.mm. We need to actually call the static block, rather than casting the block to a bool.
+
+ * API/ObjCCallbackFunction.mm:
+ (blockSignatureContainsClass):
+
2013-01-11 Filip Pizlo <[email protected]>
Add a run-time option to print bytecode at DFG compile time
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes