diff options
Diffstat (limited to 'deps/v8/test/cctest/compiler/test-code-assembler.cc')
-rw-r--r-- | deps/v8/test/cctest/compiler/test-code-assembler.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/v8/test/cctest/compiler/test-code-assembler.cc b/deps/v8/test/cctest/compiler/test-code-assembler.cc index 34fd24f865..445cc44ca7 100644 --- a/deps/v8/test/cctest/compiler/test-code-assembler.cc +++ b/deps/v8/test/cctest/compiler/test-code-assembler.cc @@ -467,6 +467,7 @@ TEST(ExceptionHandler) { } TEST(TestCodeAssemblerCodeComment) { +#ifdef V8_CODE_COMMENTS i::FLAG_code_comments = true; Isolate* isolate(CcTest::InitIsolateOnce()); const int kNumParams = 0; @@ -486,6 +487,7 @@ TEST(TestCodeAssemblerCodeComment) { it.Next(); } CHECK(found_comment); +#endif // V8_CODE_COMMENTS } TEST(StaticAssert) { |