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

Unified Diff: runtime/vm/flow_graph_optimizer.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_compiler.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_optimizer.cc
===================================================================
--- runtime/vm/flow_graph_optimizer.cc (revision 24241)
+++ runtime/vm/flow_graph_optimizer.cc (working copy)
@@ -2111,7 +2111,7 @@
case kTypedDataUint16ArrayCid: {
// Check that value is always smi.
value_check = ICData::New(Function::Handle(),
- String::Handle(),
+ Object::null_string(),
Object::null_array(),
Isolate::kNoDeoptId,
1);
@@ -2125,7 +2125,7 @@
// before storing to handle the mint case, too.
if (call->ic_data()->deopt_reason() == kDeoptUnknown) {
value_check = ICData::New(Function::Handle(),
- String::Handle(),
+ Object::null_string(),
Object::null_array(), // Dummy args. descr.
Isolate::kNoDeoptId,
1);
@@ -2136,7 +2136,7 @@
case kTypedDataFloat64ArrayCid: {
// Check that value is always double.
value_check = ICData::New(Function::Handle(),
- String::Handle(),
+ Object::null_string(),
Object::null_array(), // Dummy args. descr.
Isolate::kNoDeoptId,
1);
@@ -2146,7 +2146,7 @@
case kTypedDataFloat32x4ArrayCid: {
// Check that value is always Float32x4.
value_check = ICData::New(Function::Handle(),
- String::Handle(),
+ Object::null_string(),
Object::null_array(), // Dummy args. descr.
Isolate::kNoDeoptId,
1);
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698