| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 // Call operations | 95 // Call operations |
| 96 case IrOpcode::kJSCallConstruct: | 96 case IrOpcode::kJSCallConstruct: |
| 97 case IrOpcode::kJSCallConstructWithSpread: | 97 case IrOpcode::kJSCallConstructWithSpread: |
| 98 case IrOpcode::kJSCallFunction: | 98 case IrOpcode::kJSCallFunction: |
| 99 | 99 |
| 100 // Misc operations | 100 // Misc operations |
| 101 case IrOpcode::kJSConvertReceiver: | 101 case IrOpcode::kJSConvertReceiver: |
| 102 case IrOpcode::kJSForInNext: | 102 case IrOpcode::kJSForInNext: |
| 103 case IrOpcode::kJSForInPrepare: | 103 case IrOpcode::kJSForInPrepare: |
| 104 case IrOpcode::kJSStackCheck: | 104 case IrOpcode::kJSStackCheck: |
| 105 case IrOpcode::kJSGetSuperConstructor: |
| 105 return true; | 106 return true; |
| 106 | 107 |
| 107 default: | 108 default: |
| 108 return false; | 109 return false; |
| 109 } | 110 } |
| 110 } | 111 } |
| 111 | 112 |
| 112 | 113 |
| 113 // static | 114 // static |
| 114 int OperatorProperties::GetTotalInputCount(const Operator* op) { | 115 int OperatorProperties::GetTotalInputCount(const Operator* op) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 125 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || | 126 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || |
| 126 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || | 127 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || |
| 127 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || | 128 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || |
| 128 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || | 129 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || |
| 129 opcode == IrOpcode::kIfDefault; | 130 opcode == IrOpcode::kIfDefault; |
| 130 } | 131 } |
| 131 | 132 |
| 132 } // namespace compiler | 133 } // namespace compiler |
| 133 } // namespace internal | 134 } // namespace internal |
| 134 } // namespace v8 | 135 } // namespace v8 |
| OLD | NEW |