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

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

Issue 2111803003: DBC: Remove special case from CheckClassInstr. Cleanup. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler_dbc.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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 intptr_t slow_path_argument_count = 0); 525 intptr_t slow_path_argument_count = 0);
526 526
527 Label* AddDeoptStub(intptr_t deopt_id, 527 Label* AddDeoptStub(intptr_t deopt_id,
528 ICData::DeoptReasonId reason, 528 ICData::DeoptReasonId reason,
529 uint32_t flags = 0); 529 uint32_t flags = 0);
530 530
531 #if defined(TARGET_ARCH_DBC) 531 #if defined(TARGET_ARCH_DBC)
532 void EmitDeopt(intptr_t deopt_id, 532 void EmitDeopt(intptr_t deopt_id,
533 ICData::DeoptReasonId reason, 533 ICData::DeoptReasonId reason,
534 uint32_t flags = 0); 534 uint32_t flags = 0);
535
536 uint16_t ToEmbeddableCid(intptr_t cid, Instruction* instruction);
Vyacheslav Egorov (Google) 2016/07/01 16:18:03 Please add a comment explaining what embeddable me
zra 2016/07/01 17:20:05 Done.
535 #endif // defined(TARGET_ARCH_DBC) 537 #endif // defined(TARGET_ARCH_DBC)
536 538
537 void AddDeoptIndexAtCall(intptr_t deopt_id, TokenPosition token_pos); 539 void AddDeoptIndexAtCall(intptr_t deopt_id, TokenPosition token_pos);
538 540
539 void AddSlowPathCode(SlowPathCode* slow_path); 541 void AddSlowPathCode(SlowPathCode* slow_path);
540 542
541 void FinalizeExceptionHandlers(const Code& code); 543 void FinalizeExceptionHandlers(const Code& code);
542 void FinalizePcDescriptors(const Code& code); 544 void FinalizePcDescriptors(const Code& code);
543 RawArray* CreateDeoptInfo(Assembler* assembler); 545 RawArray* CreateDeoptInfo(Assembler* assembler);
544 void FinalizeStackmaps(const Code& code); 546 void FinalizeStackmaps(const Code& code);
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 const GrowableArray<const Function*>& inline_id_to_function_; 832 const GrowableArray<const Function*>& inline_id_to_function_;
831 const GrowableArray<TokenPosition>& inline_id_to_token_pos_; 833 const GrowableArray<TokenPosition>& inline_id_to_token_pos_;
832 const GrowableArray<intptr_t>& caller_inline_id_; 834 const GrowableArray<intptr_t>& caller_inline_id_;
833 835
834 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 836 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
835 }; 837 };
836 838
837 } // namespace dart 839 } // namespace dart
838 840
839 #endif // VM_FLOW_GRAPH_COMPILER_H_ 841 #endif // VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler_dbc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698