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

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

Issue 727623002: Support verified heap pointer writes on x64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/code_patcher_x64.cc ('k') | runtime/vm/flow_graph_compiler_x64.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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 Label* is_not_instance_lbl); 377 Label* is_not_instance_lbl);
378 void GenerateListTypeCheck(Register kClassIdReg, 378 void GenerateListTypeCheck(Register kClassIdReg,
379 Label* is_instance_lbl); 379 Label* is_instance_lbl);
380 380
381 void EmitComment(Instruction* instr); 381 void EmitComment(Instruction* instr);
382 382
383 bool NeedsEdgeCounter(TargetEntryInstr* block); 383 bool NeedsEdgeCounter(TargetEntryInstr* block);
384 384
385 void EmitEdgeCounter(); 385 void EmitEdgeCounter();
386 386
387 #if defined(TARGET_ARCH_IA32) 387 #if defined(TARGET_ARCH_IA32) || defined(TARGET_ARCH_X64)
388 static int32_t EdgeCounterIncrementSizeInBytes(); 388 static int32_t EdgeCounterIncrementSizeInBytes();
389 #endif // TARGET_ARCH_IA32 389 #endif // TARGET_ARCH_IA32 || TARGET_ARCH_X64
390 390
391 void EmitOptimizedInstanceCall(ExternalLabel* target_label, 391 void EmitOptimizedInstanceCall(ExternalLabel* target_label,
392 const ICData& ic_data, 392 const ICData& ic_data,
393 intptr_t argument_count, 393 intptr_t argument_count,
394 intptr_t deopt_id, 394 intptr_t deopt_id,
395 intptr_t token_pos, 395 intptr_t token_pos,
396 LocationSummary* locs); 396 LocationSummary* locs);
397 397
398 void EmitInstanceCall(ExternalLabel* target_label, 398 void EmitInstanceCall(ExternalLabel* target_label,
399 const ICData& ic_data, 399 const ICData& ic_data,
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 intptr_t lazy_deopt_pc_offset_; 670 intptr_t lazy_deopt_pc_offset_;
671 671
672 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; 672 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_;
673 673
674 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 674 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
675 }; 675 };
676 676
677 } // namespace dart 677 } // namespace dart
678 678
679 #endif // VM_FLOW_GRAPH_COMPILER_H_ 679 #endif // VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « runtime/vm/code_patcher_x64.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698