| Index: runtime/vm/compiler_test.cc
|
| diff --git a/runtime/vm/compiler_test.cc b/runtime/vm/compiler_test.cc
|
| index f76720a1279aaeef6834ab4be98d461b6706ee11..f1b916c87ee9201aa879d8999e459a28dc35a6d9 100644
|
| --- a/runtime/vm/compiler_test.cc
|
| +++ b/runtime/vm/compiler_test.cc
|
| @@ -15,6 +15,8 @@
|
|
|
| namespace dart {
|
|
|
| +DECLARE_FLAG(bool, background_compilation);
|
| +
|
| VM_TEST_CASE(CompileScript) {
|
| const char* kScriptChars =
|
| "class A {\n"
|
| @@ -96,10 +98,7 @@ 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);
|
|
|