Fix path tracer test.

Path tracer is not compatible with --enable-slow-assert.

R=mstarzinger@chromium.org
BUG=v8:3350
LOG=N

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21542 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
yangguo@chromium.org 2014-05-28 06:42:01 +00:00
parent 716be75bd0
commit 5599b3a743
2 changed files with 2 additions and 3 deletions

View File

@ -74,9 +74,6 @@
# BUG(3287).
'test-cpu-profiler/SampleWhenFrameIsNotSetup': [PASS, FLAKY],
# BUG(3350). Crashes.
'test-heap/PathTracer': [SKIP],
############################################################################
# Slow tests.
'test-api/Threading1': [PASS, ['mode == debug', SLOW]],

View File

@ -4266,6 +4266,8 @@ TEST(ArrayShiftSweeping) {
#ifdef DEBUG
TEST(PathTracer) {
// Type cast checks fail because the path tracer abuses the map for marking.
if (i::FLAG_enable_slow_asserts) return;
CcTest::InitializeVM();
v8::HandleScope scope(CcTest::isolate());