| Index: runtime/vm/compiler.h
|
| diff --git a/runtime/vm/compiler.h b/runtime/vm/compiler.h
|
| index 2f2eb1c5e64ea94f439428ba77d9959460e31e50..b7aaae1268985b3443bc6827432cb55f1cd58f85 100644
|
| --- a/runtime/vm/compiler.h
|
| +++ b/runtime/vm/compiler.h
|
| @@ -81,6 +81,8 @@ class Compiler : public AllStatic {
|
| static const intptr_t kNoOSRDeoptId = Thread::kNoDeoptId;
|
|
|
| static bool IsBackgroundCompilation();
|
| + // The result for a function may change if debugging gets turned on/off.
|
| + static bool CanOptimizeFunction(Thread* thread, const Function& function);
|
|
|
| // Extracts top level entities from the script and populates
|
| // the class dictionary of the library.
|
|
|