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

Unified Diff: runtime/vm/flow_graph_inliner.cc

Issue 11230034: Fix super ==: Test first for null before call inf super ==. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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
===================================================================
--- runtime/vm/flow_graph_inliner.cc (revision 13897)
+++ runtime/vm/flow_graph_inliner.cc (working copy)
@@ -149,7 +149,7 @@
}
void VisitStaticCall(StaticCallInstr* call) {
- if (call->function().is_inlinable()) static_calls_.Add(call);
+ if (call->function().IsInlineable()) static_calls_.Add(call);
}
private:
@@ -219,7 +219,7 @@
function.deoptimization_counter()));
// Abort if the inlinable bit on the function is low.
- if (!function.is_inlinable()) {
+ if (!function.IsInlineable()) {
TRACE_INLINING(OS::Print(" Bailout: not inlinable\n"));
return false;
}

Powered by Google App Engine
This is Rietveld 408576698