Fix failing assert on Windows

This commit is contained in:
David Mandelin 2010-05-25 16:39:38 -07:00
parent 74f72d3c92
commit b315613bc9

View File

@ -3277,7 +3277,7 @@ class Value
double asDouble() const {
JS_ASSERT(isDouble());
JS_ASSERT(size_t(this) % sizeof(double) == 0);
ASSERT_DOUBLE_ALIGN();
return data.asDouble;
}