| Index: runtime/vm/compiler.h
|
| diff --git a/runtime/vm/compiler.h b/runtime/vm/compiler.h
|
| index 5182364b661d9dc904cf47fe45609b37d3aef0e5..e278a5798ca5ad885885672fac4785b2ea9c8c3c 100644
|
| --- a/runtime/vm/compiler.h
|
| +++ b/runtime/vm/compiler.h
|
| @@ -40,7 +40,7 @@ class CompilationPipeline : public ZoneAllocated {
|
| const ZoneGrowableArray<const ICData*>& ic_data_array,
|
| intptr_t osr_id) = 0;
|
| virtual void FinalizeCompilation(FlowGraph* flow_graph) = 0;
|
| - virtual ~CompilationPipeline() { }
|
| + virtual ~CompilationPipeline() {}
|
| };
|
|
|
|
|
| @@ -60,7 +60,7 @@ class DartCompilationPipeline : public CompilationPipeline {
|
|
|
| class IrregexpCompilationPipeline : public CompilationPipeline {
|
| public:
|
| - IrregexpCompilationPipeline() : backtrack_goto_(NULL) { }
|
| + IrregexpCompilationPipeline() : backtrack_goto_(NULL) {}
|
|
|
| virtual void ParseFunction(ParsedFunction* parsed_function);
|
|
|
| @@ -112,10 +112,9 @@ class Compiler : public AllStatic {
|
| // Returns Error::null() if there is no compilation error.
|
| // If 'result_code' is not NULL, then the generated code is returned but
|
| // not installed.
|
| - static RawError* CompileOptimizedFunction(
|
| - Thread* thread,
|
| - const Function& function,
|
| - intptr_t osr_id = kNoOSRDeoptId);
|
| + static RawError* CompileOptimizedFunction(Thread* thread,
|
| + const Function& function,
|
| + intptr_t osr_id = kNoOSRDeoptId);
|
|
|
| // Generates code for given parsed function (without parsing it again) and
|
| // sets its code field.
|
| @@ -190,8 +189,8 @@ class BackgroundCompiler : public ThreadPool::Task {
|
| virtual void Run();
|
|
|
| Isolate* isolate_;
|
| - bool running_; // While true, will try to read queue and compile.
|
| - bool* done_; // True if the thread is done.
|
| + bool running_; // While true, will try to read queue and compile.
|
| + bool* done_; // True if the thread is done.
|
| Monitor* queue_monitor_; // Controls access to the queue.
|
| Monitor* done_monitor_; // Notify/wait that the thread is done.
|
|
|
|
|