[VM] Disable recognized method inlining in CallSiteInliner (after enabling it recently)

It appears like the manual flow graph building code for
MethodRecognizer::kObjectRuntimeType is wrong and was exposed by
enabling it recently.
Change-Id: Ia4be8c4bc7c3342e0cdf1cb8b270dc48b5f2fde4
Reviewed-on: https://dart-review.googlesource.com/17920
Reviewed-by: Martin Kustermann <kustermann@google.com>
This commit is contained in:
Martin Kustermann 2017-11-01 16:15:12 +00:00
parent 56050f47fb
commit 19ac48da44

View file

@ -1299,13 +1299,6 @@ class CallSiteInliner : public ValueObject {
for (intptr_t call_idx = 0; call_idx < call_info.length(); ++call_idx) {
StaticCallInstr* call = call_info[call_idx].call;
if (FlowGraphInliner::TryReplaceStaticCallWithInline(
inliner_->flow_graph(), NULL, call,
inliner_->speculative_policy_)) {
inlined = true;
continue;
}
const Function& target = call->function();
if (!inliner_->AlwaysInline(target) &&
(call_info[call_idx].ratio * 100) < FLAG_inlining_hotness) {