Commit 11dbc40c authored by yangguo@chromium.org's avatar yangguo@chromium.org

Temporarily remove newly introduced assertion.

TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/388753003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22338 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 938b57f7
......@@ -35,7 +35,8 @@ ScriptData::ScriptData(const byte* data, int length)
: owns_data_(false), data_(data), length_(length) {
if (!IsAligned(reinterpret_cast<intptr_t>(data), kPointerAlignment)) {
byte* copy = NewArray<byte>(length);
ASSERT(IsAligned(reinterpret_cast<intptr_t>(data_), kPointerAlignment));
// TODO(yangguo): find out why this is not always the case.
// ASSERT(IsAligned(reinterpret_cast<intptr_t>(data_), kPointerAlignment));
CopyBytes(copy, data, length);
data_ = copy;
AcquireDataOwnership();
......
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