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

Unified Diff: runtime/vm/branch_optimizer.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/branch_optimizer.cc
diff --git a/runtime/vm/branch_optimizer.cc b/runtime/vm/branch_optimizer.cc
index 0048b7ed637da3a17cc9cff4b85cb046595f6954..d329f79df7856acacdccce0b22698730e278ce58 100644
--- a/runtime/vm/branch_optimizer.cc
+++ b/runtime/vm/branch_optimizer.cc
@@ -7,6 +7,8 @@
#include "vm/flow_graph.h"
#include "vm/intermediate_language.h"
+#if !defined(DART_PRECOMPILED_RUNTIME)
+
namespace dart {
// Returns true if the given phi has a single input use and
@@ -348,3 +350,5 @@ void IfConverter::Simplify(FlowGraph* flow_graph) {
} // namespace dart
+
+#endif // !defined(DART_PRECOMPILED_RUNTIME)

Powered by Google App Engine
This is Rietveld 408576698