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

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

Issue 2493353002: DBC: Fix checked mode stack traces (Closed)
Patch Set: Created 4 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
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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 code_source_map_builder_ = new CodeSourceMapBuilder(); 571 code_source_map_builder_ = new CodeSourceMapBuilder();
572 } 572 }
573 ASSERT(code_source_map_builder_ != NULL); 573 ASSERT(code_source_map_builder_ != NULL);
574 return code_source_map_builder_; 574 return code_source_map_builder_;
575 } 575 }
576 576
577 void BeginCodeSourceRange(); 577 void BeginCodeSourceRange();
578 bool EndCodeSourceRange(TokenPosition token_pos); 578 bool EndCodeSourceRange(TokenPosition token_pos);
579 579
580 #if defined(TARGET_ARCH_DBC) 580 #if defined(TARGET_ARCH_DBC)
581 void RecordAfterCallHelper(TokenPosition token_pos,
582 intptr_t deopt_id,
583 intptr_t argument_count,
584 LocationSummary* locs);
581 void RecordAfterCall(Instruction* instr); 585 void RecordAfterCall(Instruction* instr);
582 #endif 586 #endif
583 587
584 private: 588 private:
585 friend class CheckStackOverflowSlowPath; // For pending_deoptimization_env_. 589 friend class CheckStackOverflowSlowPath; // For pending_deoptimization_env_.
586 590
587 static bool ShouldInlineSmiStringHashCode(const ICData& ic_data); 591 static bool ShouldInlineSmiStringHashCode(const ICData& ic_data);
588 592
589 void EmitFrameEntry(); 593 void EmitFrameEntry();
590 594
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 const GrowableArray<const Function*>& inline_id_to_function_; 787 const GrowableArray<const Function*>& inline_id_to_function_;
784 const GrowableArray<TokenPosition>& inline_id_to_token_pos_; 788 const GrowableArray<TokenPosition>& inline_id_to_token_pos_;
785 const GrowableArray<intptr_t>& caller_inline_id_; 789 const GrowableArray<intptr_t>& caller_inline_id_;
786 790
787 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 791 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
788 }; 792 };
789 793
790 } // namespace dart 794 } // namespace dart
791 795
792 #endif // RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ 796 #endif // RUNTIME_VM_FLOW_GRAPH_COMPILER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698