Revision: 19716
Author:   [email protected]
Date:     Fri Mar  7 11:01:03 2014 UTC
Log:      Test FeedbackVectorPreservedAcrossRecompiles needs crankshaft

The new test didn't recognize that non-sse2 builds on ia32 would
disable crankshaft.

[email protected]

Review URL: https://codereview.chromium.org/189263007
http://code.google.com/p/v8/source/detail?r=19716

Modified:
 /branches/bleeding_edge/test/cctest/test-compiler.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-compiler.cc Fri Mar 7 10:12:17 2014 UTC +++ /branches/bleeding_edge/test/cctest/test-compiler.cc Fri Mar 7 11:01:03 2014 UTC
@@ -316,6 +316,7 @@
   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.

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to