Title: [93045] trunk/Source/_javascript_Core
Revision
93045
Author
[email protected]
Date
2011-08-15 09:56:51 -0700 (Mon, 15 Aug 2011)

Log Message

Fix release build when building with Clang.

Reviewed by Anders Carlsson.

* runtime/Identifier.cpp:
(JSC::Identifier::checkCurrentIdentifierTable):
Add NO_RETURN_DUE_TO_CRASH.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (93044 => 93045)


--- trunk/Source/_javascript_Core/ChangeLog	2011-08-15 15:54:35 UTC (rev 93044)
+++ trunk/Source/_javascript_Core/ChangeLog	2011-08-15 16:56:51 UTC (rev 93045)
@@ -1,3 +1,13 @@
+2011-08-15  Sam Weinig  <[email protected]>
+
+        Fix release build when building with Clang.
+
+        Reviewed by Anders Carlsson.
+
+        * runtime/Identifier.cpp:
+        (JSC::Identifier::checkCurrentIdentifierTable):
+        Add NO_RETURN_DUE_TO_CRASH.
+
 2011-08-15  Oliver Varga  <[email protected]>
 
         Reviewed by Nikolas Zimmermann.

Modified: trunk/Source/_javascript_Core/runtime/Identifier.cpp (93044 => 93045)


--- trunk/Source/_javascript_Core/runtime/Identifier.cpp	2011-08-15 15:54:35 UTC (rev 93044)
+++ trunk/Source/_javascript_Core/runtime/Identifier.cpp	2011-08-15 16:56:51 UTC (rev 93045)
@@ -295,8 +295,8 @@
 
 // These only exists so that our exports are the same for debug and release builds.
 // This would be an ASSERT_NOT_REACHED(), but we're in NDEBUG only code here!
-void Identifier::checkCurrentIdentifierTable(JSGlobalData*) { CRASH(); }
-void Identifier::checkCurrentIdentifierTable(ExecState*) { CRASH(); }
+NO_RETURN_DUE_TO_CRASH void Identifier::checkCurrentIdentifierTable(JSGlobalData*) { CRASH(); }
+NO_RETURN_DUE_TO_CRASH void Identifier::checkCurrentIdentifierTable(ExecState*) { CRASH(); }
 
 #endif
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to