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

Unified Diff: runtime/vm/flow_graph_compiler_mips.cc

Issue 254723003: Remember all deopt reasons in ic_data, not just the last one. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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_compiler_mips.cc
===================================================================
--- runtime/vm/flow_graph_compiler_mips.cc (revision 35415)
+++ runtime/vm/flow_graph_compiler_mips.cc (working copy)
@@ -1357,9 +1357,9 @@
num_args_checked)); // No arguments checked.
ic_data.AddTarget(target_function);
uword label_address = 0;
- if (ic_data.num_args_tested() == 0) {
+ if (ic_data.NumArgsTested() == 0) {
label_address = StubCode::ZeroArgsUnoptimizedStaticCallEntryPoint();
- } else if (ic_data.num_args_tested() == 2) {
+ } else if (ic_data.NumArgsTested() == 2) {
label_address = StubCode::TwoArgsUnoptimizedStaticCallEntryPoint();
} else {
UNIMPLEMENTED();

Powered by Google App Engine
This is Rietveld 408576698