Commit 5599b3a7 authored by yangguo@chromium.org's avatar yangguo@chromium.org

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
parent 716be75b
......@@ -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]],
......
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment