update test case for "Disable neutering on embedded arraybuffers"
authorchunyang.dai <chunyang.dai@intel.com>
Mon, 8 Dec 2014 15:14:48 +0000 (07:14 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 8 Dec 2014 15:14:56 +0000 (15:14 +0000)
  This test case ( added by git: 4c7effe56e8dbe8e2df51bab967c8e1d251f3a66 ).
  should has different implementation for Turbofan and crankshaft.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#25713}

test/cctest/test-api.cc

index e8c3450..0e2f97c 100644 (file)
@@ -24544,8 +24544,11 @@ TEST(TurboAsmDisablesNeuter) {
   v8::V8::Initialize();
   v8::HandleScope scope(CcTest::isolate());
   LocalContext context;
+#if V8_TURBOFAN_TARGET
   bool should_be_neuterable = !i::FLAG_turbo_asm;
-
+#else
+  bool should_be_neuterable = true;
+#endif
   const char* load =
       "function Module(stdlib, foreign, heap) {"
       "  'use asm';"