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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 case IrOpcode::kJSCreateArguments: | 52 case IrOpcode::kJSCreateArguments: |
53 case IrOpcode::kJSCreateLiteralArray: | 53 case IrOpcode::kJSCreateLiteralArray: |
54 case IrOpcode::kJSCreateLiteralObject: | 54 case IrOpcode::kJSCreateLiteralObject: |
55 | 55 |
56 // Context operations | 56 // Context operations |
57 case IrOpcode::kJSLoadDynamic: | 57 case IrOpcode::kJSLoadDynamic: |
58 case IrOpcode::kJSCreateScriptContext: | 58 case IrOpcode::kJSCreateScriptContext: |
59 case IrOpcode::kJSCreateWithContext: | 59 case IrOpcode::kJSCreateWithContext: |
60 | 60 |
61 // Conversions | 61 // Conversions |
| 62 case IrOpcode::kJSToName: |
| 63 case IrOpcode::kJSToNumber: |
62 case IrOpcode::kJSToObject: | 64 case IrOpcode::kJSToObject: |
63 case IrOpcode::kJSToNumber: | 65 case IrOpcode::kJSToString: |
64 case IrOpcode::kJSToName: | |
65 | 66 |
66 // Misc operations | 67 // Misc operations |
67 case IrOpcode::kJSConvertReceiver: | 68 case IrOpcode::kJSConvertReceiver: |
68 case IrOpcode::kJSForInNext: | 69 case IrOpcode::kJSForInNext: |
69 case IrOpcode::kJSForInPrepare: | 70 case IrOpcode::kJSForInPrepare: |
70 case IrOpcode::kJSStackCheck: | 71 case IrOpcode::kJSStackCheck: |
71 case IrOpcode::kJSDeleteProperty: | 72 case IrOpcode::kJSDeleteProperty: |
72 return 1; | 73 return 1; |
73 | 74 |
74 // We record the frame state immediately before and immediately after | 75 // We record the frame state immediately before and immediately after |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || | 128 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || |
128 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || | 129 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || |
129 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || | 130 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || |
130 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || | 131 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || |
131 opcode == IrOpcode::kIfDefault; | 132 opcode == IrOpcode::kIfDefault; |
132 } | 133 } |
133 | 134 |
134 } // namespace compiler | 135 } // namespace compiler |
135 } // namespace internal | 136 } // namespace internal |
136 } // namespace v8 | 137 } // namespace v8 |
OLD | NEW |