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

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

Issue 463103002: Fix bug with CHA dependencies by recording a set of classes for registering code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: address remaining comments Created 6 years, 4 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/compiler.cc ('k') | runtime/vm/flow_graph_optimizer.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_OPTIMIZER_H_ 5 #ifndef VM_FLOW_GRAPH_OPTIMIZER_H_
6 #define VM_FLOW_GRAPH_OPTIMIZER_H_ 6 #define VM_FLOW_GRAPH_OPTIMIZER_H_
7 7
8 #include "vm/intermediate_language.h" 8 #include "vm/intermediate_language.h"
9 #include "vm/flow_graph.h" 9 #include "vm/flow_graph.h"
10 10
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 MethodRecognizer::Kind recognized_kind); 118 MethodRecognizer::Kind recognized_kind);
119 bool TryInlineInt32x4Constructor(StaticCallInstr* call, 119 bool TryInlineInt32x4Constructor(StaticCallInstr* call,
120 MethodRecognizer::Kind recognized_kind); 120 MethodRecognizer::Kind recognized_kind);
121 bool TryInlineFloat32x4Method(InstanceCallInstr* call, 121 bool TryInlineFloat32x4Method(InstanceCallInstr* call,
122 MethodRecognizer::Kind recognized_kind); 122 MethodRecognizer::Kind recognized_kind);
123 bool TryInlineFloat64x2Method(InstanceCallInstr* call, 123 bool TryInlineFloat64x2Method(InstanceCallInstr* call,
124 MethodRecognizer::Kind recognized_kind); 124 MethodRecognizer::Kind recognized_kind);
125 bool TryInlineInt32x4Method(InstanceCallInstr* call, 125 bool TryInlineInt32x4Method(InstanceCallInstr* call,
126 MethodRecognizer::Kind recognized_kind); 126 MethodRecognizer::Kind recognized_kind);
127 void ReplaceWithInstanceOf(InstanceCallInstr* instr); 127 void ReplaceWithInstanceOf(InstanceCallInstr* instr);
128 bool TypeCheckAsClassEquality(const AbstractType& type);
128 void ReplaceWithTypeCast(InstanceCallInstr* instr); 129 void ReplaceWithTypeCast(InstanceCallInstr* instr);
129 130
130 bool TryReplaceInstanceCallWithInline(InstanceCallInstr* call); 131 bool TryReplaceInstanceCallWithInline(InstanceCallInstr* call);
131 132
132 LoadFieldInstr* BuildLoadStringLength(Definition* str); 133 LoadFieldInstr* BuildLoadStringLength(Definition* str);
133 134
134 Definition* PrepareInlineStringIndexOp(Instruction* call, 135 Definition* PrepareInlineStringIndexOp(Instruction* call,
135 intptr_t cid, 136 intptr_t cid,
136 Definition* str, 137 Definition* str,
137 Definition* index, 138 Definition* index,
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 // Optimize spill stores inside try-blocks by identifying values that always 502 // Optimize spill stores inside try-blocks by identifying values that always
502 // contain a single known constant at catch block entry. 503 // contain a single known constant at catch block entry.
503 class TryCatchAnalyzer : public AllStatic { 504 class TryCatchAnalyzer : public AllStatic {
504 public: 505 public:
505 static void Optimize(FlowGraph* flow_graph); 506 static void Optimize(FlowGraph* flow_graph);
506 }; 507 };
507 508
508 } // namespace dart 509 } // namespace dart
509 510
510 #endif // VM_FLOW_GRAPH_OPTIMIZER_H_ 511 #endif // VM_FLOW_GRAPH_OPTIMIZER_H_
OLDNEW
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698