| Index: runtime/vm/compiler_test.cc
|
| diff --git a/runtime/vm/compiler_test.cc b/runtime/vm/compiler_test.cc
|
| index f1b916c87ee9201aa879d8999e459a28dc35a6d9..f76720a1279aaeef6834ab4be98d461b6706ee11 100644
|
| --- a/runtime/vm/compiler_test.cc
|
| +++ b/runtime/vm/compiler_test.cc
|
| @@ -15,8 +15,6 @@
|
|
|
| namespace dart {
|
|
|
| -DECLARE_FLAG(bool, background_compilation);
|
| -
|
| VM_TEST_CASE(CompileScript) {
|
| const char* kScriptChars =
|
| "class A {\n"
|
| @@ -98,7 +96,10 @@ VM_TEST_CASE(CompileFunctionOnHelperThread) {
|
| CompilerTest::TestCompileFunction(func);
|
| EXPECT(func.HasCode());
|
| EXPECT(!func.HasOptimizedCode());
|
| +#if !defined(PRODUCT)
|
| + // Constant in product mode.
|
| FLAG_background_compilation = true;
|
| +#endif
|
| BackgroundCompiler::EnsureInit(thread);
|
| Isolate* isolate = thread->isolate();
|
| ASSERT(isolate->background_compiler() != NULL);
|
|
|