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

Unified Diff: runtime/vm/intermediate_language_arm.cc

Issue 17501003: Minor cleanups to use null_array(), null_object() and null_string() handles. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language_arm.cc
===================================================================
--- runtime/vm/intermediate_language_arm.cc (revision 24241)
+++ runtime/vm/intermediate_language_arm.cc (working copy)
@@ -386,7 +386,7 @@
token_pos);
}
const int kNumberOfArguments = 2;
- const Array& kNoArgumentNames = Array::Handle();
+ const Array& kNoArgumentNames = Object::null_array();
const int kNumArgumentsChecked = 2;
Label check_identity;
@@ -550,7 +550,7 @@
}
} else {
const int kNumberOfArguments = 2;
- const Array& kNoArgumentNames = Array::Handle();
+ const Array& kNoArgumentNames = Object::null_array();
compiler->GenerateStaticCall(deopt_id,
token_pos,
target,
@@ -931,7 +931,7 @@
compiler->EmitTestAndCall(ICData::Handle(ic_data()->AsUnaryClassChecks()),
R2, // Class id register.
kNumArguments,
- Array::Handle(), // No named arguments.
+ Object::null_array(), // No named arguments.
deopt, // Deoptimize target.
deopt_id(),
token_pos(),
@@ -3029,7 +3029,7 @@
instance_call()->token_pos(),
target,
kNumberOfArguments,
- Array::Handle(), // No argument names.,
+ Object::null_array(), // No argument names.,
locs());
__ Bind(&done);
}
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698