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/simplified-lowering.h" | 5 #include "src/compiler/simplified-lowering.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "src/address-map.h" | 9 #include "src/address-map.h" |
10 #include "src/base/bits.h" | 10 #include "src/base/bits.h" |
(...skipping 2188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2199 case IrOpcode::kTruncateInt64ToInt32: | 2199 case IrOpcode::kTruncateInt64ToInt32: |
2200 case IrOpcode::kChangeFloat32ToFloat64: | 2200 case IrOpcode::kChangeFloat32ToFloat64: |
2201 case IrOpcode::kCheckedInt32Add: | 2201 case IrOpcode::kCheckedInt32Add: |
2202 case IrOpcode::kCheckedInt32Sub: | 2202 case IrOpcode::kCheckedInt32Sub: |
2203 case IrOpcode::kCheckedUint32ToInt32: | 2203 case IrOpcode::kCheckedUint32ToInt32: |
2204 case IrOpcode::kCheckedFloat64ToInt32: | 2204 case IrOpcode::kCheckedFloat64ToInt32: |
2205 case IrOpcode::kCheckedTaggedToInt32: | 2205 case IrOpcode::kCheckedTaggedToInt32: |
2206 case IrOpcode::kCheckedTaggedToFloat64: | 2206 case IrOpcode::kCheckedTaggedToFloat64: |
2207 case IrOpcode::kPlainPrimitiveToWord32: | 2207 case IrOpcode::kPlainPrimitiveToWord32: |
2208 case IrOpcode::kPlainPrimitiveToFloat64: | 2208 case IrOpcode::kPlainPrimitiveToFloat64: |
| 2209 case IrOpcode::kLoopExit: |
| 2210 case IrOpcode::kLoopExitValue: |
| 2211 case IrOpcode::kLoopExitEffect: |
2209 FATAL("Representation inference: unsupported opcodes."); | 2212 FATAL("Representation inference: unsupported opcodes."); |
2210 break; | 2213 break; |
2211 | 2214 |
2212 default: | 2215 default: |
2213 VisitInputs(node); | 2216 VisitInputs(node); |
2214 // Assume the output is tagged. | 2217 // Assume the output is tagged. |
2215 return SetOutput(node, MachineRepresentation::kTagged); | 2218 return SetOutput(node, MachineRepresentation::kTagged); |
2216 } | 2219 } |
2217 UNREACHABLE(); | 2220 UNREACHABLE(); |
2218 } | 2221 } |
(...skipping 1050 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3269 isolate(), graph()->zone(), callable.descriptor(), 0, flags, | 3272 isolate(), graph()->zone(), callable.descriptor(), 0, flags, |
3270 Operator::kNoProperties); | 3273 Operator::kNoProperties); |
3271 to_number_operator_.set(common()->Call(desc)); | 3274 to_number_operator_.set(common()->Call(desc)); |
3272 } | 3275 } |
3273 return to_number_operator_.get(); | 3276 return to_number_operator_.get(); |
3274 } | 3277 } |
3275 | 3278 |
3276 } // namespace compiler | 3279 } // namespace compiler |
3277 } // namespace internal | 3280 } // namespace internal |
3278 } // namespace v8 | 3281 } // namespace v8 |
OLD | NEW |