| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 case IrOpcode::kJSToLength: | 89 case IrOpcode::kJSToLength: |
| 90 case IrOpcode::kJSToName: | 90 case IrOpcode::kJSToName: |
| 91 case IrOpcode::kJSToNumber: | 91 case IrOpcode::kJSToNumber: |
| 92 case IrOpcode::kJSToObject: | 92 case IrOpcode::kJSToObject: |
| 93 case IrOpcode::kJSToString: | 93 case IrOpcode::kJSToString: |
| 94 | 94 |
| 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 case IrOpcode::kJSCallFunctionWithSpread: |
| 99 | 100 |
| 100 // Misc operations | 101 // Misc operations |
| 101 case IrOpcode::kJSConvertReceiver: | 102 case IrOpcode::kJSConvertReceiver: |
| 102 case IrOpcode::kJSForInNext: | 103 case IrOpcode::kJSForInNext: |
| 103 case IrOpcode::kJSForInPrepare: | 104 case IrOpcode::kJSForInPrepare: |
| 104 case IrOpcode::kJSStackCheck: | 105 case IrOpcode::kJSStackCheck: |
| 105 case IrOpcode::kJSGetSuperConstructor: | 106 case IrOpcode::kJSGetSuperConstructor: |
| 106 return true; | 107 return true; |
| 107 | 108 |
| 108 default: | 109 default: |
| (...skipping 17 matching lines...) Expand all Loading... |
| 126 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || | 127 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || |
| 127 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || | 128 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || |
| 128 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || | 129 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || |
| 129 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || | 130 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || |
| 130 opcode == IrOpcode::kIfDefault; | 131 opcode == IrOpcode::kIfDefault; |
| 131 } | 132 } |
| 132 | 133 |
| 133 } // namespace compiler | 134 } // namespace compiler |
| 134 } // namespace internal | 135 } // namespace internal |
| 135 } // namespace v8 | 136 } // namespace v8 |
| OLD | NEW |