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

Unified Diff: runtime/vm/kernel_binary_flowgraph.cc

Issue 2934263002: Fix to 32-bit kernel. (Closed)
Patch Set: Created 3 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/kernel_binary_flowgraph.cc
diff --git a/runtime/vm/kernel_binary_flowgraph.cc b/runtime/vm/kernel_binary_flowgraph.cc
index adcfcec719e3b803ee48ddef5a1239653079e14e..33c85883c08dca768e4f896411db799a63c561f3 100644
--- a/runtime/vm/kernel_binary_flowgraph.cc
+++ b/runtime/vm/kernel_binary_flowgraph.cc
@@ -3495,7 +3495,9 @@ Fragment StreamingFlowGraphBuilder::BuildGetMainClosure() {
Function::Handle(Z, function.ImplicitClosureFunction());
const Instance& closure =
Instance::ZoneHandle(Z, closure_function.ImplicitStaticClosure());
- return Constant(closure) + Return(TokenPosition::kNoSource);
+ Fragment instructions = Constant(closure);
+ instructions += Return(TokenPosition::kNoSource);
+ return instructions;
} else {
UNIMPLEMENTED();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698