From 66170eaa5272391d388190397149e859672367f8 Mon Sep 17 00:00:00 2001 From: "yangguo@chromium.org" Date: Fri, 17 Oct 2014 10:22:47 +0000 Subject: [PATCH] test-serialize/Bug3628 is expected to fail, not crash. TBR=jochen@chromium.org BUG=v8:3628 LOG=N Review URL: https://codereview.chromium.org/663483003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24688 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/cctest/test-serialize.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc index 289d0dc..5dd1170 100644 --- a/test/cctest/test-serialize.cc +++ b/test/cctest/test-serialize.cc @@ -1242,6 +1242,7 @@ TEST(Bug3628) { v8::Local script = v8::ScriptCompiler::CompileUnbound( isolate1, &source, v8::ScriptCompiler::kProduceCodeCache); const v8::ScriptCompiler::CachedData* data = source.GetCachedData(); + CHECK(data); // Persist cached data. uint8_t* buffer = NewArray(data->length); MemCopy(buffer, data->data, data->length); -- 2.7.4