mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
[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:
parent
56050f47fb
commit
19ac48da44
1 changed files with 0 additions and 7 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue