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

Unified Diff: runtime/vm/program_visitor.cc

Issue 2960413002: Omit JIT compiler from precompiled runtime on ARM, ARM64 and IA32. (Closed)
Patch Set: Moved trace_irregexp flag to flag_list.h 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/program_visitor.h ('k') | runtime/vm/regexp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/program_visitor.cc
diff --git a/runtime/vm/program_visitor.cc b/runtime/vm/program_visitor.cc
index 372b60fa5a7de00556f21236d937e14455cb3223..61288b545eb23a8dbe73d854093218e71df8c9b1 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,7 @@ void ProgramVisitor::Dedup() {
ShareMegamorphicBuckets();
DedupStackMaps();
DedupPcDescriptors();
- DedupDeoptEntries();
+ NOT_IN_PRECOMPILED(DedupDeoptEntries());
DedupCodeSourceMaps();
DedupLists();
« no previous file with comments | « runtime/vm/program_visitor.h ('k') | runtime/vm/regexp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698