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

Unified Diff: runtime/vm/program_visitor.cc

Issue 2960413002: Omit JIT compiler from precompiled runtime on ARM, ARM64 and IA32. (Closed)
Patch Set: Created 3 years, 6 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/program_visitor.cc
diff --git a/runtime/vm/program_visitor.cc b/runtime/vm/program_visitor.cc
index 372b60fa5a7de00556f21236d937e14455cb3223..9b4864c33f0d43585b362cf0b76f4a7a0db7ad01 100644
--- a/runtime/vm/program_visitor.cc
+++ b/runtime/vm/program_visitor.cc
@@ -281,6 +281,7 @@ class TypedDataKeyValueTrait {
typedef DirectChainedHashMap<TypedDataKeyValueTrait> TypedDataSet;
+#if !defined(DART_PRECOMPILED_RUNTIME)
void ProgramVisitor::DedupDeoptEntries() {
class DedupDeoptEntriesVisitor : public FunctionVisitor {
public:
@@ -337,6 +338,7 @@ void ProgramVisitor::DedupDeoptEntries() {
DedupDeoptEntriesVisitor visitor(Thread::Current()->zone());
ProgramVisitor::VisitFunctions(&visitor);
}
+#endif // !defined(DART_PRECOMPILED_RUNTIME)
class CodeSourceMapKeyValueTrait {
@@ -607,7 +609,9 @@ void ProgramVisitor::Dedup() {
ShareMegamorphicBuckets();
DedupStackMaps();
DedupPcDescriptors();
+#if !defined(DART_PRECOMPILED_RUNTIME)
DedupDeoptEntries();
zra 2017/06/30 00:07:00 You can use the NOT_IN_PRECOMPILED() macro for sin
Aske Simon Christensen 2017/07/03 13:41:08 Done.
+#endif
DedupCodeSourceMaps();
DedupLists();

Powered by Google App Engine
This is Rietveld 408576698