Commit 0f935855 authored by oliver@apple.com's avatar oliver@apple.com

2013-04-22 Oliver Hunt <oliver@apple.com>

        Fix assertions to account for new Vector layout

        RS=Gavin

        * llint/LLIntData.cpp:
        (JSC::LLInt::Data::performAssertions):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148896 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 3bc008c2
2013-04-22 Oliver Hunt <oliver@apple.com>
Fix assertions to account for new Vector layout
RS=Gavin
* llint/LLIntData.cpp:
(JSC::LLInt::Data::performAssertions):
2013-04-22 Mark Lam <mark.lam@apple.com>
Change baseline JIT watchdog timer check to use the proper fast slow path
......@@ -116,8 +116,8 @@ void Data::performAssertions(VM& vm)
#if !ASSERT_DISABLED
Vector<int> testVector;
testVector.resize(42);
ASSERT(bitwise_cast<size_t*>(&testVector)[0] == 42);
ASSERT(bitwise_cast<int**>(&testVector)[1] == testVector.begin());
ASSERT(bitwise_cast<uint32_t*>(&testVector)[sizeof(void*)/sizeof(uint32_t) + 1] == 42);
ASSERT(bitwise_cast<int**>(&testVector)[0] == testVector.begin());
#endif
ASSERT(StringImpl::s_hashFlag8BitBuffer == 64);
......
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