Reviewers: Michael Achenbach,
Description:
Temporarily remove newly introduced assertion.
[email protected]
Please review this at https://codereview.chromium.org/388753003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -1 lines):
M src/compiler.cc
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index
00c2667c1e38dfdabd73852f806d217b8f7bb150..4dc5f30088f9a03fa6cbeafb388d3e91e538e123
100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -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();
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.