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

Unified Diff: runtime/vm/flow_graph_optimizer.cc

Issue 502953002: Implement native _List. constructor in the flow-graph builder. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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_builder.cc ('k') | runtime/vm/intrinsifier_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 39516)
+++ runtime/vm/flow_graph_optimizer.cc (working copy)
@@ -4390,12 +4390,6 @@
recognized_kind,
call->token_pos());
ReplaceCall(call, invoke);
- } else if (recognized_kind == MethodRecognizer::kObjectArrayAllocate) {
- Value* type = new(I) Value(call->ArgumentAt(0));
- Value* num_elements = new(I) Value(call->ArgumentAt(1));
- CreateArrayInstr* create_array =
- new(I) CreateArrayInstr(call->token_pos(), type, num_elements);
- ReplaceCall(call, create_array);
} else if (recognized_kind == MethodRecognizer::kDoubleFromInteger) {
if (call->HasICData() && (call->ic_data()->NumberOfChecks() == 1)) {
const ICData& ic_data = *call->ic_data();
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/intrinsifier_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698