Index: test/cctest/test-strings.cc |
diff --git a/test/cctest/test-strings.cc b/test/cctest/test-strings.cc |
index d384e3001a7ae3653d5506a4ef0f985aec6eaf32..204652afe69c8243e449505d7fef5d965b17ad5f 100644 |
--- a/test/cctest/test-strings.cc |
+++ b/test/cctest/test-strings.cc |
@@ -1408,6 +1408,7 @@ TEST(InvalidExternalString) { |
static const int invalid = String::kMaxLength + 1; \ |
HandleScope scope(isolate); \ |
Vector<TYPE> dummy = Vector<TYPE>::New(invalid); \ |
+ memset(dummy.start(), 0x0, dummy.length() * sizeof(TYPE)); \ |
Sven Panne
2014/09/16 10:48:40
Why exactly do we need this?
andrew_low
2014/09/22 17:49:18
When we test on AIX there are tests that fail if t
|
CHECK(isolate->factory()->FUN(Vector<const TYPE>::cast(dummy)).is_null()); \ |
memset(dummy.start(), 0x20, dummy.length() * sizeof(TYPE)); \ |
CHECK(isolate->has_pending_exception()); \ |