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

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

Issue 1418863003: Precompilation: Generate instance calls as IC calls that can switch to Megamoprhic calls. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #ifndef VM_FLOW_GRAPH_COMPILER_H_ 5 #ifndef VM_FLOW_GRAPH_COMPILER_H_
6 #define VM_FLOW_GRAPH_COMPILER_H_ 6 #define VM_FLOW_GRAPH_COMPILER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/code_descriptors.h" 10 #include "vm/code_descriptors.h"
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 intptr_t deopt_id, 410 intptr_t deopt_id,
411 intptr_t token_pos, 411 intptr_t token_pos,
412 LocationSummary* locs); 412 LocationSummary* locs);
413 413
414 void EmitMegamorphicInstanceCall(const ICData& ic_data, 414 void EmitMegamorphicInstanceCall(const ICData& ic_data,
415 intptr_t argument_count, 415 intptr_t argument_count,
416 intptr_t deopt_id, 416 intptr_t deopt_id,
417 intptr_t token_pos, 417 intptr_t token_pos,
418 LocationSummary* locs); 418 LocationSummary* locs);
419 419
420 void EmitSwitchableInstanceCall(const ICData& ic_data,
421 intptr_t argument_count,
422 intptr_t deopt_id,
423 intptr_t token_pos,
424 LocationSummary* locs);
425
420 void EmitTestAndCall(const ICData& ic_data, 426 void EmitTestAndCall(const ICData& ic_data,
421 intptr_t arg_count, 427 intptr_t arg_count,
422 const Array& arg_names, 428 const Array& arg_names,
423 Label* failed, 429 Label* failed,
424 Label* match_found, 430 Label* match_found,
425 intptr_t deopt_id, 431 intptr_t deopt_id,
426 intptr_t token_index, 432 intptr_t token_index,
427 LocationSummary* locs); 433 LocationSummary* locs);
428 434
429 Condition EmitEqualityRegConstCompare(Register reg, 435 Condition EmitEqualityRegConstCompare(Register reg,
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 Array& inlined_code_intervals_; 744 Array& inlined_code_intervals_;
739 const GrowableArray<const Function*>& inline_id_to_function_; 745 const GrowableArray<const Function*>& inline_id_to_function_;
740 const GrowableArray<intptr_t>& caller_inline_id_; 746 const GrowableArray<intptr_t>& caller_inline_id_;
741 747
742 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 748 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
743 }; 749 };
744 750
745 } // namespace dart 751 } // namespace dart
746 752
747 #endif // VM_FLOW_GRAPH_COMPILER_H_ 753 #endif // VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698