Unreviewed, preemptive build fix.
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Nov 2013 21:11:06 +0000 (21:11 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Nov 2013 21:11:06 +0000 (21:11 +0000)
* runtime/StackAlignment.h:
(JSC::stackAlignmentBytes):
(JSC::stackAlignmentRegisters):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@159643 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/StackAlignment.h

index aaa08b3..062484b 100644 (file)
@@ -1,5 +1,13 @@
 2013-11-21  Filip Pizlo  <fpizlo@apple.com>
 
+        Unreviewed, preemptive build fix.
+
+        * runtime/StackAlignment.h:
+        (JSC::stackAlignmentBytes):
+        (JSC::stackAlignmentRegisters):
+
+2013-11-21  Filip Pizlo  <fpizlo@apple.com>
+
         JSC should know what the stack alignment conventions are
         https://bugs.webkit.org/show_bug.cgi?id=124736
 
index 558c0c7..c9a742d 100644 (file)
@@ -31,9 +31,9 @@
 namespace JSC {
 
 // NB. Different platforms may have different requriements here. But 16 bytes is very common.
-unsigned stackAlignmentBytes() { return 16; }
+inline unsigned stackAlignmentBytes() { return 16; }
 
-unsigned stackAlignmentRegisters()
+inline unsigned stackAlignmentRegisters()
 {
     return stackAlignmentBytes() / sizeof(EncodedJSValue);
 }