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

Unified Diff: runtime/vm/cha.cc

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/cha.h ('k') | runtime/vm/cha_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/cha.cc
diff --git a/runtime/vm/cha.cc b/runtime/vm/cha.cc
index 6a0a16d32f59ce375b6503949dfeae6b372e46f2..83a2bc50b4dc71bff8fb89eca8c0958462cf885f 100644
--- a/runtime/vm/cha.cc
+++ b/runtime/vm/cha.cc
@@ -18,10 +18,8 @@ void CHA::AddToGuardedClasses(const Class& cls, intptr_t subclass_count) {
return;
}
}
- GuardedClassInfo info = {
- &Class::ZoneHandle(thread_->zone(), cls.raw()),
- subclass_count
- };
+ GuardedClassInfo info = {&Class::ZoneHandle(thread_->zone(), cls.raw()),
+ subclass_count};
guarded_classes_.Add(info);
return;
}
@@ -62,7 +60,7 @@ bool CHA::HasSubclasses(intptr_t cid) const {
bool CHA::ConcreteSubclasses(const Class& cls,
- GrowableArray<intptr_t> *class_ids) {
+ GrowableArray<intptr_t>* class_ids) {
if (cls.InVMHeap()) return false;
if (cls.IsObjectClass()) return false;
@@ -161,7 +159,7 @@ bool CHA::HasOverride(const Class& cls,
}
if (direct_subclass.LookupDynamicFunction(function_name) !=
- Function::null()) {
+ Function::null()) {
return true;
}
« no previous file with comments | « runtime/vm/cha.h ('k') | runtime/vm/cha_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698