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

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

Issue 2903993002: Remember deopt-id -> context-level mappings in var descriptors. (Closed)
Patch Set: update descriptor tests Created 3 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 | « runtime/vm/flow_graph_builder_test.cc ('k') | 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 RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ 5 #ifndef RUNTIME_VM_FLOW_GRAPH_COMPILER_H_
6 #define RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ 6 #define RUNTIME_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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 Label* match_found, 450 Label* match_found,
451 intptr_t deopt_id, 451 intptr_t deopt_id,
452 TokenPosition token_index, 452 TokenPosition token_index,
453 LocationSummary* locs, 453 LocationSummary* locs,
454 bool complete, 454 bool complete,
455 intptr_t total_ic_calls); 455 intptr_t total_ic_calls);
456 456
457 Condition EmitEqualityRegConstCompare(Register reg, 457 Condition EmitEqualityRegConstCompare(Register reg,
458 const Object& obj, 458 const Object& obj,
459 bool needs_number_check, 459 bool needs_number_check,
460 TokenPosition token_pos); 460 TokenPosition token_pos,
461 intptr_t deopt_id);
461 Condition EmitEqualityRegRegCompare(Register left, 462 Condition EmitEqualityRegRegCompare(Register left,
462 Register right, 463 Register right,
463 bool needs_number_check, 464 bool needs_number_check,
464 TokenPosition token_pos); 465 TokenPosition token_pos,
466 intptr_t deopt_id);
465 467
466 bool NeedsEdgeCounter(TargetEntryInstr* block); 468 bool NeedsEdgeCounter(TargetEntryInstr* block);
467 469
468 void EmitEdgeCounter(intptr_t edge_id); 470 void EmitEdgeCounter(intptr_t edge_id);
469 #endif // !defined(TARGET_ARCH_DBC) 471 #endif // !defined(TARGET_ARCH_DBC)
470 void EmitCatchEntryState( 472 void EmitCatchEntryState(
471 Environment* env = NULL, 473 Environment* env = NULL,
472 intptr_t try_index = CatchClauseNode::kInvalidTryIndex); 474 intptr_t try_index = CatchClauseNode::kInvalidTryIndex);
473 475
474 void EmitCallsiteMetaData(TokenPosition token_pos, 476 void EmitCallsiteMetaData(TokenPosition token_pos,
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; 840 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_;
839 841
840 Array& edge_counters_array_; 842 Array& edge_counters_array_;
841 843
842 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 844 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
843 }; 845 };
844 846
845 } // namespace dart 847 } // namespace dart
846 848
847 #endif // RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ 849 #endif // RUNTIME_VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_builder_test.cc ('k') | runtime/vm/flow_graph_compiler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698