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

Unified Diff: runtime/vm/flow_graph_inliner.cc

Issue 2901533002: [kernel] Stream everything. Replace .kernel_function with .kernel_offset (Closed)
Patch Set: Fixed assert issues; small refactorings. Created 3 years, 7 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
Index: runtime/vm/flow_graph_inliner.cc
diff --git a/runtime/vm/flow_graph_inliner.cc b/runtime/vm/flow_graph_inliner.cc
index 8f8eeecc88ec002fa95f244265c36c327e2e5c79..3ca8e39069c58780fa1d0da781150e69d5f7defc 100644
--- a/runtime/vm/flow_graph_inliner.cc
+++ b/runtime/vm/flow_graph_inliner.cc
@@ -802,12 +802,10 @@ 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, exit_collector,
- Compiler::kNoOSRDeoptId, caller_graph_->max_block_id() + 1);
+ parsed_function->function().kernel_offset(), parsed_function,
+ *ic_data_array, exit_collector, Compiler::kNoOSRDeoptId,
+ caller_graph_->max_block_id() + 1);
{
CSTAT_TIMER_SCOPE(thread(), graphinliner_build_timer);
callee_graph = builder.BuildGraph();

Powered by Google App Engine
This is Rietveld 408576698