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

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

Issue 1922953002: Revert "VM: Improve phi-elimination to improve code inside of try-catch." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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/intermediate_language.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_INTERMEDIATE_LANGUAGE_H_ 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_
6 #define VM_INTERMEDIATE_LANGUAGE_H_ 6 #define VM_INTERMEDIATE_LANGUAGE_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/ast.h" 9 #include "vm/ast.h"
10 #include "vm/growable_array.h" 10 #include "vm/growable_array.h"
(...skipping 1966 matching lines...) Expand 10 before | Expand all | Expand 10 after
1977 1977
1978 void set_reaching_defs(BitVector* reaching_defs) { 1978 void set_reaching_defs(BitVector* reaching_defs) {
1979 reaching_defs_ = reaching_defs; 1979 reaching_defs_ = reaching_defs;
1980 } 1980 }
1981 1981
1982 virtual bool MayThrow() const { return false; } 1982 virtual bool MayThrow() const { return false; }
1983 1983
1984 // A phi is redundant if all input operands are the same. 1984 // A phi is redundant if all input operands are the same.
1985 bool IsRedundant() const; 1985 bool IsRedundant() const;
1986 1986
1987 bool HasReplacement(Definition** replacement) const;
1988
1989 void set_induction_variable_info(InductionVariableInfo* info) { 1987 void set_induction_variable_info(InductionVariableInfo* info) {
1990 loop_variable_info_ = info; 1988 loop_variable_info_ = info;
1991 } 1989 }
1992 1990
1993 InductionVariableInfo* induction_variable_info() { 1991 InductionVariableInfo* induction_variable_info() {
1994 return loop_variable_info_; 1992 return loop_variable_info_;
1995 } 1993 }
1996 1994
1997 PRINT_TO_SUPPORT 1995 PRINT_TO_SUPPORT
1998 1996
(...skipping 6292 matching lines...) Expand 10 before | Expand all | Expand 10 after
8291 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ 8289 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \
8292 UNIMPLEMENTED(); \ 8290 UNIMPLEMENTED(); \
8293 return NULL; \ 8291 return NULL; \
8294 } \ 8292 } \
8295 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } 8293 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); }
8296 8294
8297 8295
8298 } // namespace dart 8296 } // namespace dart
8299 8297
8300 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 8298 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698