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

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

Issue 1046173002: [turbofan] Fix properties of IrOpcode::kThrow operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | test/unittests/compiler/common-operator-unittest.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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 #define CACHED_OP_LIST(V) \ 112 #define CACHED_OP_LIST(V) \
113 V(Always, Operator::kPure, 0, 0, 0, 1, 0, 0) \ 113 V(Always, Operator::kPure, 0, 0, 0, 1, 0, 0) \
114 V(Dead, Operator::kFoldable, 0, 0, 0, 0, 0, 1) \ 114 V(Dead, Operator::kFoldable, 0, 0, 0, 0, 0, 1) \
115 V(End, Operator::kKontrol, 0, 0, 1, 0, 0, 0) \ 115 V(End, Operator::kKontrol, 0, 0, 1, 0, 0, 0) \
116 V(IfTrue, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ 116 V(IfTrue, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
117 V(IfFalse, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ 117 V(IfFalse, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
118 V(IfSuccess, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ 118 V(IfSuccess, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
119 V(IfException, Operator::kKontrol, 0, 0, 1, 1, 0, 1) \ 119 V(IfException, Operator::kKontrol, 0, 0, 1, 1, 0, 1) \
120 V(IfDefault, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ 120 V(IfDefault, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
121 V(Throw, Operator::kFoldable, 1, 1, 1, 0, 0, 1) \ 121 V(Throw, Operator::kKontrol, 1, 1, 1, 0, 0, 1) \
122 V(Deoptimize, Operator::kNoThrow, 1, 1, 1, 0, 0, 1) \ 122 V(Deoptimize, Operator::kNoThrow, 1, 1, 1, 0, 0, 1) \
123 V(Return, Operator::kNoThrow, 1, 1, 1, 0, 0, 1) \ 123 V(Return, Operator::kNoThrow, 1, 1, 1, 0, 0, 1) \
124 V(OsrNormalEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \ 124 V(OsrNormalEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \
125 V(OsrLoopEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) 125 V(OsrLoopEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1)
126 126
127 127
128 #define CACHED_EFFECT_PHI_LIST(V) \ 128 #define CACHED_EFFECT_PHI_LIST(V) \
129 V(1) \ 129 V(1) \
130 V(2) \ 130 V(2) \
131 V(3) \ 131 V(3) \
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 } else { 678 } else {
679 UNREACHABLE(); 679 UNREACHABLE();
680 return nullptr; 680 return nullptr;
681 } 681 }
682 } 682 }
683 683
684 684
685 } // namespace compiler 685 } // namespace compiler
686 } // namespace internal 686 } // namespace internal
687 } // namespace v8 687 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | test/unittests/compiler/common-operator-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698