Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(606)

Unified Diff: runtime/vm/compiler.h

Issue 2481873005: clang-format runtime/vm (Closed)
Patch Set: Merge Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/code_patcher_x64_test.cc ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « runtime/vm/code_patcher_x64_test.cc ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698