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

Side by Side Diff: src/compiler/common-operator.cc

Issue 1155683004: [turbofan] Connect loops to end via Terminate during graph building. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Also remove redundant EffectPhis now. Created 5 years, 6 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 | « src/compiler/ast-graph-builder.cc ('k') | src/compiler/control-reducer.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/common-operator.h" 5 #include "src/compiler/common-operator.h"
6 6
7 #include "src/assembler.h" 7 #include "src/assembler.h"
8 #include "src/base/lazy-instance.h" 8 #include "src/base/lazy-instance.h"
9 #include "src/compiler/linkage.h" 9 #include "src/compiler/linkage.h"
10 #include "src/compiler/opcodes.h" 10 #include "src/compiler/opcodes.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 #define CACHED_OP_LIST(V) \ 103 #define CACHED_OP_LIST(V) \
104 V(Dead, Operator::kFoldable, 0, 0, 0, 0, 0, 1) \ 104 V(Dead, Operator::kFoldable, 0, 0, 0, 0, 0, 1) \
105 V(IfTrue, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ 105 V(IfTrue, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
106 V(IfFalse, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ 106 V(IfFalse, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
107 V(IfSuccess, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ 107 V(IfSuccess, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
108 V(IfException, Operator::kKontrol, 0, 0, 1, 1, 0, 1) \ 108 V(IfException, Operator::kKontrol, 0, 0, 1, 1, 0, 1) \
109 V(IfDefault, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ 109 V(IfDefault, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
110 V(Throw, Operator::kKontrol, 1, 1, 1, 0, 0, 1) \ 110 V(Throw, Operator::kKontrol, 1, 1, 1, 0, 0, 1) \
111 V(Deoptimize, Operator::kNoThrow, 1, 1, 1, 0, 0, 1) \ 111 V(Deoptimize, Operator::kNoThrow, 1, 1, 1, 0, 0, 1) \
112 V(Return, Operator::kNoThrow, 1, 1, 1, 0, 0, 1) \ 112 V(Return, Operator::kNoThrow, 1, 1, 1, 0, 0, 1) \
113 V(Terminate, Operator::kNoThrow, 0, 1, 1, 0, 0, 1) \ 113 V(Terminate, Operator::kKontrol, 0, 1, 1, 0, 0, 1) \
114 V(OsrNormalEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \ 114 V(OsrNormalEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \
115 V(OsrLoopEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) 115 V(OsrLoopEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1)
116 116
117 117
118 #define CACHED_END_LIST(V) \ 118 #define CACHED_END_LIST(V) \
119 V(1) \ 119 V(1) \
120 V(2) \ 120 V(2) \
121 V(3) \ 121 V(3) \
122 V(4) \ 122 V(4) \
123 V(5) \ 123 V(5) \
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 } else { 732 } else {
733 UNREACHABLE(); 733 UNREACHABLE();
734 return nullptr; 734 return nullptr;
735 } 735 }
736 } 736 }
737 737
738 738
739 } // namespace compiler 739 } // namespace compiler
740 } // namespace internal 740 } // namespace internal
741 } // namespace v8 741 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/compiler/control-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698