From: mvstanton@chromium.org Date: Fri, 7 Mar 2014 11:01:03 +0000 (+0000) Subject: Test FeedbackVectorPreservedAcrossRecompiles needs crankshaft X-Git-Tag: upstream/4.7.83~10457 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f19e15c3889124ba6b79ccc42bf5e0225027cb14;p=platform%2Fupstream%2Fv8.git Test FeedbackVectorPreservedAcrossRecompiles needs crankshaft The new test didn't recognize that non-sse2 builds on ia32 would disable crankshaft. R=yangguo@chromium.org Review URL: https://codereview.chromium.org/189263007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19716 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc index 065a58d..2947658 100644 --- a/test/cctest/test-compiler.cc +++ b/test/cctest/test-compiler.cc @@ -316,6 +316,7 @@ TEST(FeedbackVectorPreservedAcrossRecompiles) { if (i::FLAG_always_opt || !i::FLAG_crankshaft) return; i::FLAG_allow_natives_syntax = true; CcTest::InitializeVM(); + if (!CcTest::i_isolate()->use_crankshaft()) return; v8::HandleScope scope(CcTest::isolate()); // Make sure function f has a call that uses a type feedback slot.