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

Unified Diff: runtime/vm/clustered_snapshot.cc

Issue 2246083003: AOT: Optimize even large functions. Ensures all calls are optimized static calls, switchable calls … (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: . Created 4 years, 4 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 | « no previous file | runtime/vm/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/clustered_snapshot.cc
diff --git a/runtime/vm/clustered_snapshot.cc b/runtime/vm/clustered_snapshot.cc
index afacd26ca31bb0ed4bd51ae1a41c93d3bbdf4299..fe51886ac87998be4b73753989fbdea474dab07b 100644
--- a/runtime/vm/clustered_snapshot.cc
+++ b/runtime/vm/clustered_snapshot.cc
@@ -2126,29 +2126,6 @@ class ICDataDeserializationCluster : public DeserializationCluster {
#endif
}
}
-
- void PostLoad(const Array& refs, Snapshot::Kind kind, Zone* zone) {
- NOT_IN_PRODUCT(TimelineDurationScope tds(Thread::Current(),
- Timeline::GetIsolateStream(), "PostLoadICData"));
-
- if (kind == Snapshot::kAppNoJIT) {
- ICData& ic = ICData::Handle(zone);
- Object& funcOrCode = Object::Handle(zone);
- Code& code = Code::Handle(zone);
- Smi& entry_point = Smi::Handle(zone);
- for (intptr_t i = start_index_; i < stop_index_; i++) {
- ic ^= refs.At(i);
- for (intptr_t j = 0; j < ic.NumberOfChecks(); j++) {
- funcOrCode = ic.GetTargetOrCodeAt(j);
- if (funcOrCode.IsCode()) {
- code ^= funcOrCode.raw();
- entry_point = Smi::FromAlignedAddress(code.UncheckedEntryPoint());
- ic.SetEntryPointAt(j, entry_point);
- }
- }
- }
- }
- }
};
« no previous file with comments | « no previous file | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698