Title: [206083] trunk/Source/_javascript_Core
- Revision
- 206083
- Author
- utatane....@gmail.com
- Date
- 2016-09-18 11:03:38 -0700 (Sun, 18 Sep 2016)
Log Message
[JSC] Assert length of LLInt opcodes using isCellWithType is 3
https://bugs.webkit.org/show_bug.cgi?id=162134
Reviewed by Saam Barati.
* llint/LLIntData.cpp:
(JSC::LLInt::Data::performAssertions):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (206082 => 206083)
--- trunk/Source/_javascript_Core/ChangeLog 2016-09-18 17:40:11 UTC (rev 206082)
+++ trunk/Source/_javascript_Core/ChangeLog 2016-09-18 18:03:38 UTC (rev 206083)
@@ -1,5 +1,15 @@
2016-09-18 Yusuke Suzuki <utatane....@gmail.com>
+ [JSC] Assert length of LLInt opcodes using isCellWithType is 3
+ https://bugs.webkit.org/show_bug.cgi?id=162134
+
+ Reviewed by Saam Barati.
+
+ * llint/LLIntData.cpp:
+ (JSC::LLInt::Data::performAssertions):
+
+2016-09-18 Yusuke Suzuki <utatane....@gmail.com>
+
[JSC] Do not need to use defineProperty to define methods for object literals
https://bugs.webkit.org/show_bug.cgi?id=162111
Modified: trunk/Source/_javascript_Core/llint/LLIntData.cpp (206082 => 206083)
--- trunk/Source/_javascript_Core/llint/LLIntData.cpp 2016-09-18 17:40:11 UTC (rev 206082)
+++ trunk/Source/_javascript_Core/llint/LLIntData.cpp 2016-09-18 18:03:38 UTC (rev 206083)
@@ -217,6 +217,11 @@
ASSERT(bitwise_cast<uintptr_t>(ShadowChicken::Packet::tailMarker()) == static_cast<uintptr_t>(0x7a11));
+ STATIC_ASSERT(OPCODE_LENGTH(op_is_string) == 3);
+ STATIC_ASSERT(OPCODE_LENGTH(op_is_jsarray) == 3);
+ STATIC_ASSERT(OPCODE_LENGTH(op_is_proxy_object) == 3);
+ STATIC_ASSERT(OPCODE_LENGTH(op_is_derived_array) == 3);
+
// FIXME: make these assertions less horrible.
#if !ASSERT_DISABLED
Vector<int> testVector;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes