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

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

Issue 1184093004: Faster checks in polymorphic instance calls if Smi-s are involved (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: m Created 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler_arm.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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 intptr_t token_pos, 407 intptr_t token_pos,
408 LocationSummary* locs); 408 LocationSummary* locs);
409 409
410 void EmitMegamorphicInstanceCall(const ICData& ic_data, 410 void EmitMegamorphicInstanceCall(const ICData& ic_data,
411 intptr_t argument_count, 411 intptr_t argument_count,
412 intptr_t deopt_id, 412 intptr_t deopt_id,
413 intptr_t token_pos, 413 intptr_t token_pos,
414 LocationSummary* locs); 414 LocationSummary* locs);
415 415
416 void EmitTestAndCall(const ICData& ic_data, 416 void EmitTestAndCall(const ICData& ic_data,
417 Register class_id_reg,
418 intptr_t arg_count, 417 intptr_t arg_count,
419 const Array& arg_names, 418 const Array& arg_names,
420 Label* deopt, 419 Label* failed,
420 Label* match_found,
421 intptr_t deopt_id, 421 intptr_t deopt_id,
422 intptr_t token_index, 422 intptr_t token_index,
423 LocationSummary* locs); 423 LocationSummary* locs);
424 424
425 Condition EmitEqualityRegConstCompare(Register reg, 425 Condition EmitEqualityRegConstCompare(Register reg,
426 const Object& obj, 426 const Object& obj,
427 bool needs_number_check, 427 bool needs_number_check,
428 intptr_t token_pos); 428 intptr_t token_pos);
429 Condition EmitEqualityRegRegCompare(Register left, 429 Condition EmitEqualityRegRegCompare(Register left,
430 Register right, 430 Register right,
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 Array& inlined_code_intervals_; 710 Array& inlined_code_intervals_;
711 const GrowableArray<const Function*>& inline_id_to_function_; 711 const GrowableArray<const Function*>& inline_id_to_function_;
712 const GrowableArray<intptr_t>& caller_inline_id_; 712 const GrowableArray<intptr_t>& caller_inline_id_;
713 713
714 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 714 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
715 }; 715 };
716 716
717 } // namespace dart 717 } // namespace dart
718 718
719 #endif // VM_FLOW_GRAPH_COMPILER_H_ 719 #endif // VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698