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

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

Issue 10885039: Deoptimization can occur at Dart calls (includes native calls to C) but not at runtime calls. This … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.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_X64_H_ 5 #ifndef VM_FLOW_GRAPH_COMPILER_X64_H_
6 #define VM_FLOW_GRAPH_COMPILER_X64_H_ 6 #define VM_FLOW_GRAPH_COMPILER_X64_H_
7 7
8 #ifndef VM_FLOW_GRAPH_COMPILER_H_ 8 #ifndef VM_FLOW_GRAPH_COMPILER_H_
9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_x64.h. 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_x64.h.
10 #endif 10 #endif
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 void GenerateCallRuntime(intptr_t deopt_id, 80 void GenerateCallRuntime(intptr_t deopt_id,
81 intptr_t token_pos, 81 intptr_t token_pos,
82 const RuntimeEntry& entry, 82 const RuntimeEntry& entry,
83 LocationSummary* locs); 83 LocationSummary* locs);
84 84
85 void GenerateCall(intptr_t token_pos, 85 void GenerateCall(intptr_t token_pos,
86 const ExternalLabel* label, 86 const ExternalLabel* label,
87 PcDescriptors::Kind kind, 87 PcDescriptors::Kind kind,
88 LocationSummary* locs); 88 LocationSummary* locs);
89 89
90 void GenerateDartCall(intptr_t deopt_id,
91 intptr_t token_pos,
92 const ExternalLabel* label,
93 PcDescriptors::Kind kind,
94 LocationSummary* locs);
95
90 void GenerateAssertAssignable(intptr_t deopt_id, 96 void GenerateAssertAssignable(intptr_t deopt_id,
91 intptr_t token_pos, 97 intptr_t token_pos,
92 const AbstractType& dst_type, 98 const AbstractType& dst_type,
93 const String& dst_name, 99 const String& dst_name,
94 LocationSummary* locs); 100 LocationSummary* locs);
95 101
96 void GenerateInstanceOf(intptr_t deopt_id, 102 void GenerateInstanceOf(intptr_t deopt_id,
97 intptr_t token_pos, 103 intptr_t token_pos,
98 const AbstractType& type, 104 const AbstractType& type,
99 bool negate_result, 105 bool negate_result,
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 // that should be used when deoptimizing we store it in this variable. 322 // that should be used when deoptimizing we store it in this variable.
317 // In future AddDeoptStub should be moved out of the instruction template. 323 // In future AddDeoptStub should be moved out of the instruction template.
318 Environment* pending_deoptimization_env_; 324 Environment* pending_deoptimization_env_;
319 325
320 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 326 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
321 }; 327 };
322 328
323 } // namespace dart 329 } // namespace dart
324 330
325 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ 331 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698