Reviewers: drcarney,

Description:
Fix bogus assertion.


[email protected]
BUG=


Please review this at https://chromiumcodereview.appspot.com/12296008/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/heap.cc


Index: src/heap.cc
diff --git a/src/heap.cc b/src/heap.cc
index da7236bce26419f13df98e79ece6648ac26c2ddc..5e4390284c245bd3eb667158a8d0bb0d63d90f37 100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -3600,7 +3600,9 @@ MaybeObject* Heap::AllocateExternalStringFromAscii(
     return Failure::OutOfMemoryException(0x5);
   }

+#ifndef ENABLE_LATIN_1
   ASSERT(String::IsAscii(resource->data(), static_cast<int>(length)));
+#endif  // ENABLE_LATIN_1

   Map* map = external_ascii_string_map();
   Object* result;


--
--
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/groups/opt_out.


Reply via email to