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

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

Issue 10915026: We can throw an exception but we cannot deoptimize at a runtime call. (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
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_IA32_H_ 5 #ifndef VM_FLOW_GRAPH_COMPILER_IA32_H_
6 #define VM_FLOW_GRAPH_COMPILER_IA32_H_ 6 #define VM_FLOW_GRAPH_COMPILER_IA32_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_ia32.h. 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_ia32.h.
10 #endif 10 #endif
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 void LoadDoubleOrSmiToXmm(XmmRegister result, 71 void LoadDoubleOrSmiToXmm(XmmRegister result,
72 Register reg, 72 Register reg,
73 Register temp, 73 Register temp,
74 Label* not_double_or_smi); 74 Label* not_double_or_smi);
75 75
76 // Returns 'true' if code generation for this function is complete, i.e., 76 // Returns 'true' if code generation for this function is complete, i.e.,
77 // no fall-through to regular code is needed. 77 // no fall-through to regular code is needed.
78 bool TryIntrinsify(); 78 bool TryIntrinsify();
79 79
80 void GenerateCallRuntime(intptr_t deopt_id, 80 void GenerateCallRuntime(intptr_t token_pos,
81 intptr_t token_pos,
82 const RuntimeEntry& entry, 81 const RuntimeEntry& entry,
83 LocationSummary* locs); 82 LocationSummary* locs);
84 83
85 void GenerateCall(intptr_t token_pos, 84 void GenerateCall(intptr_t token_pos,
86 const ExternalLabel* label, 85 const ExternalLabel* label,
87 PcDescriptors::Kind kind, 86 PcDescriptors::Kind kind,
88 LocationSummary* locs); 87 LocationSummary* locs);
89 88
90 void GenerateDartCall(intptr_t deopt_id, 89 void GenerateDartCall(intptr_t deopt_id,
91 intptr_t token_pos, 90 intptr_t token_pos,
92 const ExternalLabel* label, 91 const ExternalLabel* label,
93 PcDescriptors::Kind kind, 92 PcDescriptors::Kind kind,
94 LocationSummary* locs); 93 LocationSummary* locs);
95 94
96 void GenerateAssertAssignable(intptr_t deopt_id, 95 void GenerateAssertAssignable(intptr_t token_pos,
97 intptr_t token_pos,
98 const AbstractType& dst_type, 96 const AbstractType& dst_type,
99 const String& dst_name, 97 const String& dst_name,
100 LocationSummary* locs); 98 LocationSummary* locs);
101 99
102 void GenerateInstanceOf(intptr_t deopt_id, 100 void GenerateInstanceOf(intptr_t token_pos,
103 intptr_t token_pos,
104 const AbstractType& type, 101 const AbstractType& type,
105 bool negate_result, 102 bool negate_result,
106 LocationSummary* locs); 103 LocationSummary* locs);
107 104
108 void GenerateInstanceCall(intptr_t deopt_id, 105 void GenerateInstanceCall(intptr_t deopt_id,
109 intptr_t token_pos, 106 intptr_t token_pos,
110 const String& function_name, 107 const String& function_name,
111 intptr_t argument_count, 108 intptr_t argument_count,
112 const Array& argument_names, 109 const Array& argument_names,
113 intptr_t checked_argument_count, 110 intptr_t checked_argument_count,
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 // that should be used when deoptimizing we store it in this variable. 320 // that should be used when deoptimizing we store it in this variable.
324 // In future AddDeoptStub should be moved out of the instruction template. 321 // In future AddDeoptStub should be moved out of the instruction template.
325 Environment* pending_deoptimization_env_; 322 Environment* pending_deoptimization_env_;
326 323
327 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 324 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
328 }; 325 };
329 326
330 } // namespace dart 327 } // namespace dart
331 328
332 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ 329 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler_ia32.cc » ('j') | runtime/vm/intermediate_language.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698