Index: runtime/vm/flow_graph_inliner.cc |
diff --git a/runtime/vm/flow_graph_inliner.cc b/runtime/vm/flow_graph_inliner.cc |
index b5063f899d1e8ad245a70bab8a5af522d16385fd..65c37415495fe331a2acc600cf65aca6347e4dc5 100644 |
--- a/runtime/vm/flow_graph_inliner.cc |
+++ b/runtime/vm/flow_graph_inliner.cc |
@@ -796,12 +796,9 @@ class CallSiteInliner : public ValueObject { |
new (Z) InlineExitCollector(caller_graph_, call); |
FlowGraph* callee_graph; |
if (UseKernelFrontEndFor(parsed_function)) { |
- kernel::TreeNode* node = static_cast<kernel::TreeNode*>( |
- parsed_function->function().kernel_function()); |
- |
kernel::FlowGraphBuilder builder( |
- node, parsed_function, *ic_data_array, |
- /* not building var desc */ NULL, exit_collector, |
+ parsed_function->function().kernel_offset(), parsed_function, |
+ *ic_data_array, /* not building var desc */ NULL, exit_collector, |
Compiler::kNoOSRDeoptId, caller_graph_->max_block_id() + 1); |
{ |
CSTAT_TIMER_SCOPE(thread(), graphinliner_build_timer); |