OLD | NEW |
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/operator-properties.h" | 5 #include "src/compiler/operator-properties.h" |
6 | 6 |
7 #include "src/compiler/js-operator.h" | 7 #include "src/compiler/js-operator.h" |
8 #include "src/compiler/linkage.h" | 8 #include "src/compiler/linkage.h" |
9 #include "src/compiler/opcodes.h" | 9 #include "src/compiler/opcodes.h" |
10 | 10 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 case IrOpcode::kJSCallConstructWithSpread: | 97 case IrOpcode::kJSCallConstructWithSpread: |
98 case IrOpcode::kJSCallForwardVarargs: | 98 case IrOpcode::kJSCallForwardVarargs: |
99 case IrOpcode::kJSCallFunction: | 99 case IrOpcode::kJSCallFunction: |
100 case IrOpcode::kJSCallFunctionWithSpread: | 100 case IrOpcode::kJSCallFunctionWithSpread: |
101 | 101 |
102 // Misc operations | 102 // Misc operations |
103 case IrOpcode::kJSConvertReceiver: | 103 case IrOpcode::kJSConvertReceiver: |
104 case IrOpcode::kJSForInNext: | 104 case IrOpcode::kJSForInNext: |
105 case IrOpcode::kJSForInPrepare: | 105 case IrOpcode::kJSForInPrepare: |
106 case IrOpcode::kJSStackCheck: | 106 case IrOpcode::kJSStackCheck: |
| 107 case IrOpcode::kJSDebugger: |
107 case IrOpcode::kJSGetSuperConstructor: | 108 case IrOpcode::kJSGetSuperConstructor: |
108 return true; | 109 return true; |
109 | 110 |
110 default: | 111 default: |
111 return false; | 112 return false; |
112 } | 113 } |
113 } | 114 } |
114 | 115 |
115 | 116 |
116 // static | 117 // static |
(...skipping 11 matching lines...) Expand all Loading... |
128 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || | 129 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || |
129 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || | 130 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || |
130 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || | 131 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || |
131 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || | 132 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || |
132 opcode == IrOpcode::kIfDefault; | 133 opcode == IrOpcode::kIfDefault; |
133 } | 134 } |
134 | 135 |
135 } // namespace compiler | 136 } // namespace compiler |
136 } // namespace internal | 137 } // namespace internal |
137 } // namespace v8 | 138 } // namespace v8 |
OLD | NEW |