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

Unified Diff: runtime/vm/block_scheduler.cc

Issue 2976723003: Eliminate dependencies on assemblers and code stubs in precompiled runtime. (Closed)
Patch Set: 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
Index: runtime/vm/block_scheduler.cc
diff --git a/runtime/vm/block_scheduler.cc b/runtime/vm/block_scheduler.cc
index 7411fccecea25cfb5cd9162b573c7d6a35ec9f5b..b88031b7c3d785b42e4e6ca3766f09e3ed2f2256 100644
--- a/runtime/vm/block_scheduler.cc
+++ b/runtime/vm/block_scheduler.cc
@@ -9,6 +9,8 @@
#include "vm/compiler.h"
#include "vm/flow_graph.h"
+#if !defined(DART_PRECOMPILED_RUNTIME)
+
namespace dart {
static intptr_t GetEdgeCount(const Array& edge_counters, intptr_t edge_id) {
@@ -217,3 +219,5 @@ void BlockScheduler::ReorderBlocks() const {
}
} // namespace dart
+
+#endif // !defined(DART_PRECOMPILED_RUNTIME)

Powered by Google App Engine
This is Rietveld 408576698