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

Unified Diff: runtime/vm/isolate.h

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 months 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/intrinsifier_x64.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index f700bbc2ad2e2c944c3e506be5e297e54c91e171..8dc5c5c3867952eff1ab857f4b344cdd52af8339 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -12,16 +12,16 @@
#include "vm/class_table.h"
#include "vm/exceptions.h"
#include "vm/fixed_cache.h"
+#include "vm/growable_array.h"
#include "vm/handles.h"
#include "vm/megamorphic_cache_table.h"
#include "vm/metrics.h"
+#include "vm/os_thread.h"
#include "vm/random.h"
#include "vm/tags.h"
#include "vm/thread.h"
-#include "vm/os_thread.h"
#include "vm/timer.h"
#include "vm/token_position.h"
-#include "vm/growable_array.h"
namespace dart {
@@ -73,7 +73,6 @@ class StubCode;
class ThreadRegistry;
class UserTag;
-
class PendingLazyDeopt {
public:
PendingLazyDeopt(uword fp, uword pc) : fp_(fp), pc_(pc) {}
@@ -86,7 +85,6 @@ class PendingLazyDeopt {
uword pc_;
};
-
class IsolateVisitor {
public:
IsolateVisitor() {}
@@ -102,7 +100,6 @@ class IsolateVisitor {
DISALLOW_COPY_AND_ASSIGN(IsolateVisitor);
};
-
// Disallow OOB message handling within this scope.
class NoOOBMessageScope : public StackResource {
public:
@@ -113,7 +110,6 @@ class NoOOBMessageScope : public StackResource {
DISALLOW_COPY_AND_ASSIGN(NoOOBMessageScope);
};
-
// Disallow isolate reload.
class NoReloadScope : public StackResource {
public:
@@ -125,7 +121,6 @@ class NoReloadScope : public StackResource {
DISALLOW_COPY_AND_ASSIGN(NoReloadScope);
};
-
// Fixed cache for exception handler lookup.
typedef FixedCache<intptr_t, ExceptionHandlerInfo, 16> HandlerInfoCache;
// Fixed cache for catch entry state lookup.
@@ -420,7 +415,6 @@ class Isolate : public BaseIsolate {
return cleanup_callback_;
}
-
void set_object_id_ring(ObjectIdRing* ring) { object_id_ring_ = ring; }
ObjectIdRing* object_id_ring() { return object_id_ring_; }
@@ -653,7 +647,7 @@ class Isolate : public BaseIsolate {
ISOLATE_FLAG_LIST(DECLARE_GETTER)
#undef DECLARE_GETTER
void set_use_osr(bool use_osr) { ASSERT(!use_osr); }
-#else // defined(PRODUCT)
+#else // defined(PRODUCT)
#define DECLARE_GETTER(name, isolate_flag_name, flag_name) \
bool name() const { return name##_; }
ISOLATE_FLAG_LIST(DECLARE_GETTER)
@@ -900,18 +894,16 @@ class Isolate : public BaseIsolate {
friend class Become; // VisitObjectPointers
friend class GCMarker; // VisitObjectPointers
friend class SafepointHandler;
- friend class Scavenger; // VisitObjectPointers
+ friend class Scavenger; // VisitObjectPointers
friend class ObjectGraph; // VisitObjectPointers
friend class ServiceIsolate;
friend class Thread;
friend class Timeline;
friend class NoReloadScope; // reload_block
-
DISALLOW_COPY_AND_ASSIGN(Isolate);
};
-
// When we need to execute code in an isolate, we use the
// StartIsolateScope.
class StartIsolateScope {
@@ -953,7 +945,6 @@ class StartIsolateScope {
DISALLOW_COPY_AND_ASSIGN(StartIsolateScope);
};
-
class IsolateSpawnState {
public:
IsolateSpawnState(Dart_Port parent_port,
« no previous file with comments | « runtime/vm/intrinsifier_x64.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698