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 30 matching lines...) Expand all Loading... |
41 // Compare operations | 41 // Compare operations |
42 case IrOpcode::kJSEqual: | 42 case IrOpcode::kJSEqual: |
43 case IrOpcode::kJSGreaterThan: | 43 case IrOpcode::kJSGreaterThan: |
44 case IrOpcode::kJSGreaterThanOrEqual: | 44 case IrOpcode::kJSGreaterThanOrEqual: |
45 case IrOpcode::kJSHasProperty: | 45 case IrOpcode::kJSHasProperty: |
46 case IrOpcode::kJSInstanceOf: | 46 case IrOpcode::kJSInstanceOf: |
47 case IrOpcode::kJSLessThan: | 47 case IrOpcode::kJSLessThan: |
48 case IrOpcode::kJSLessThanOrEqual: | 48 case IrOpcode::kJSLessThanOrEqual: |
49 case IrOpcode::kJSNotEqual: | 49 case IrOpcode::kJSNotEqual: |
50 | 50 |
| 51 // Object operations |
| 52 case IrOpcode::kJSCreateLiteralArray: |
| 53 case IrOpcode::kJSCreateLiteralObject: |
| 54 |
51 // Context operations | 55 // Context operations |
52 case IrOpcode::kJSCreateScriptContext: | 56 case IrOpcode::kJSCreateScriptContext: |
53 case IrOpcode::kJSCreateWithContext: | 57 case IrOpcode::kJSCreateWithContext: |
54 | 58 |
55 // Conversions | 59 // Conversions |
56 case IrOpcode::kJSToObject: | 60 case IrOpcode::kJSToObject: |
57 case IrOpcode::kJSToNumber: | 61 case IrOpcode::kJSToNumber: |
58 case IrOpcode::kJSToName: | 62 case IrOpcode::kJSToName: |
59 | 63 |
60 // Misc operations | 64 // Misc operations |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || | 114 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || |
111 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || | 115 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || |
112 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || | 116 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || |
113 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || | 117 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || |
114 opcode == IrOpcode::kIfDefault; | 118 opcode == IrOpcode::kIfDefault; |
115 } | 119 } |
116 | 120 |
117 } // namespace compiler | 121 } // namespace compiler |
118 } // namespace internal | 122 } // namespace internal |
119 } // namespace v8 | 123 } // namespace v8 |
OLD | NEW |