Commit 35569e79 authored by fpizlo@apple.com's avatar fpizlo@apple.com
Browse files

Unreviewed, preemptive build fix.

* runtime/StackAlignment.h:
(JSC::stackAlignmentBytes):
(JSC::stackAlignmentRegisters):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 802ad32f
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
......
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment