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

Side by Side Diff: runtime/vm/flow_graph_compiler.cc

Issue 410333003: Shorter TryAllocate instruction sequence on ARM/ARM64/MIPS. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_XXX. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_XXX.
6 6
7 #include "vm/flow_graph_compiler.h" 7 #include "vm/flow_graph_compiler.h"
8 8
9 #include "vm/cha.h" 9 #include "vm/cha.h"
10 #include "vm/dart_entry.h" 10 #include "vm/dart_entry.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 stackmap_table_builder_( 87 stackmap_table_builder_(
88 is_optimizing ? new StackmapTableBuilder() : NULL), 88 is_optimizing ? new StackmapTableBuilder() : NULL),
89 block_info_(block_order_.length()), 89 block_info_(block_order_.length()),
90 deopt_infos_(), 90 deopt_infos_(),
91 static_calls_target_table_(GrowableObjectArray::ZoneHandle( 91 static_calls_target_table_(GrowableObjectArray::ZoneHandle(
92 GrowableObjectArray::New())), 92 GrowableObjectArray::New())),
93 is_optimizing_(is_optimizing), 93 is_optimizing_(is_optimizing),
94 may_reoptimize_(false), 94 may_reoptimize_(false),
95 double_class_(Class::ZoneHandle( 95 double_class_(Class::ZoneHandle(
96 isolate_->object_store()->double_class())), 96 isolate_->object_store()->double_class())),
97 mint_class_(Class::ZoneHandle(
98 isolate_->object_store()->mint_class())),
97 float32x4_class_(Class::ZoneHandle( 99 float32x4_class_(Class::ZoneHandle(
98 isolate_->object_store()->float32x4_class())), 100 isolate_->object_store()->float32x4_class())),
99 float64x2_class_(Class::ZoneHandle( 101 float64x2_class_(Class::ZoneHandle(
100 isolate_->object_store()->float64x2_class())), 102 isolate_->object_store()->float64x2_class())),
101 int32x4_class_(Class::ZoneHandle( 103 int32x4_class_(Class::ZoneHandle(
102 isolate_->object_store()->int32x4_class())), 104 isolate_->object_store()->int32x4_class())),
103 list_class_(Class::ZoneHandle( 105 list_class_(Class::ZoneHandle(
104 Library::Handle(Library::CoreLibrary()). 106 Library::Handle(Library::CoreLibrary()).
105 LookupClass(Symbols::List()))), 107 LookupClass(Symbols::List()))),
106 parallel_move_resolver_(this), 108 parallel_move_resolver_(this),
(...skipping 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after
1395 } 1397 }
1396 const ICData& ic_data = ICData::ZoneHandle(isolate(), ICData::New( 1398 const ICData& ic_data = ICData::ZoneHandle(isolate(), ICData::New(
1397 parsed_function().function(), String::Handle(isolate(), target.name()), 1399 parsed_function().function(), String::Handle(isolate(), target.name()),
1398 arguments_descriptor, deopt_id, num_args_tested)); 1400 arguments_descriptor, deopt_id, num_args_tested));
1399 ic_data.AddTarget(target); 1401 ic_data.AddTarget(target);
1400 (*deopt_id_to_ic_data_)[deopt_id] = &ic_data; 1402 (*deopt_id_to_ic_data_)[deopt_id] = &ic_data;
1401 return &ic_data; 1403 return &ic_data;
1402 } 1404 }
1403 1405
1404 } // namespace dart 1406 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698