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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 case IrOpcode::kJSToObject: | 96 case IrOpcode::kJSToObject: |
97 case IrOpcode::kJSToString: | 97 case IrOpcode::kJSToString: |
98 case IrOpcode::kJSToPrimitiveToString: | 98 case IrOpcode::kJSToPrimitiveToString: |
99 | 99 |
100 // Call operations | 100 // Call operations |
101 case IrOpcode::kJSConstructForwardVarargs: | 101 case IrOpcode::kJSConstructForwardVarargs: |
102 case IrOpcode::kJSConstruct: | 102 case IrOpcode::kJSConstruct: |
103 case IrOpcode::kJSConstructWithSpread: | 103 case IrOpcode::kJSConstructWithSpread: |
104 case IrOpcode::kJSCallForwardVarargs: | 104 case IrOpcode::kJSCallForwardVarargs: |
105 case IrOpcode::kJSCall: | 105 case IrOpcode::kJSCall: |
| 106 case IrOpcode::kJSCallWithArrayLike: |
106 case IrOpcode::kJSCallWithSpread: | 107 case IrOpcode::kJSCallWithSpread: |
107 | 108 |
108 // Misc operations | 109 // Misc operations |
109 case IrOpcode::kJSForInNext: | 110 case IrOpcode::kJSForInNext: |
110 case IrOpcode::kJSForInPrepare: | 111 case IrOpcode::kJSForInPrepare: |
111 case IrOpcode::kJSStackCheck: | 112 case IrOpcode::kJSStackCheck: |
112 case IrOpcode::kJSDebugger: | 113 case IrOpcode::kJSDebugger: |
113 case IrOpcode::kJSGetSuperConstructor: | 114 case IrOpcode::kJSGetSuperConstructor: |
114 return true; | 115 return true; |
115 | 116 |
(...skipping 18 matching lines...) Expand all Loading... |
134 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || | 135 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || |
135 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || | 136 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || |
136 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || | 137 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || |
137 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || | 138 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || |
138 opcode == IrOpcode::kIfDefault; | 139 opcode == IrOpcode::kIfDefault; |
139 } | 140 } |
140 | 141 |
141 } // namespace compiler | 142 } // namespace compiler |
142 } // namespace internal | 143 } // namespace internal |
143 } // namespace v8 | 144 } // namespace v8 |
OLD | NEW |