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/instruction-selector.h" | 5 #include "src/compiler/instruction-selector.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "src/base/adapters.h" | 9 #include "src/base/adapters.h" |
10 #include "src/compiler/compiler-source-position-table.h" | 10 #include "src/compiler/compiler-source-position-table.h" |
(...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1026 case IrOpcode::kRetain: | 1026 case IrOpcode::kRetain: |
1027 VisitRetain(node); | 1027 VisitRetain(node); |
1028 return; | 1028 return; |
1029 case IrOpcode::kLoad: { | 1029 case IrOpcode::kLoad: { |
1030 LoadRepresentation type = LoadRepresentationOf(node->op()); | 1030 LoadRepresentation type = LoadRepresentationOf(node->op()); |
1031 MarkAsRepresentation(type.representation(), node); | 1031 MarkAsRepresentation(type.representation(), node); |
1032 return VisitLoad(node); | 1032 return VisitLoad(node); |
1033 } | 1033 } |
1034 case IrOpcode::kStore: | 1034 case IrOpcode::kStore: |
1035 return VisitStore(node); | 1035 return VisitStore(node); |
| 1036 case IrOpcode::kProtectedStore: |
| 1037 return VisitProtectedStore(node); |
1036 case IrOpcode::kWord32And: | 1038 case IrOpcode::kWord32And: |
1037 return MarkAsWord32(node), VisitWord32And(node); | 1039 return MarkAsWord32(node), VisitWord32And(node); |
1038 case IrOpcode::kWord32Or: | 1040 case IrOpcode::kWord32Or: |
1039 return MarkAsWord32(node), VisitWord32Or(node); | 1041 return MarkAsWord32(node), VisitWord32Or(node); |
1040 case IrOpcode::kWord32Xor: | 1042 case IrOpcode::kWord32Xor: |
1041 return MarkAsWord32(node), VisitWord32Xor(node); | 1043 return MarkAsWord32(node), VisitWord32Xor(node); |
1042 case IrOpcode::kWord32Shl: | 1044 case IrOpcode::kWord32Shl: |
1043 return MarkAsWord32(node), VisitWord32Shl(node); | 1045 return MarkAsWord32(node), VisitWord32Shl(node); |
1044 case IrOpcode::kWord32Shr: | 1046 case IrOpcode::kWord32Shr: |
1045 return MarkAsWord32(node), VisitWord32Shr(node); | 1047 return MarkAsWord32(node), VisitWord32Shr(node); |
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2110 return new (instruction_zone()) FrameStateDescriptor( | 2112 return new (instruction_zone()) FrameStateDescriptor( |
2111 instruction_zone(), state_info.type(), state_info.bailout_id(), | 2113 instruction_zone(), state_info.type(), state_info.bailout_id(), |
2112 state_info.state_combine(), parameters, locals, stack, | 2114 state_info.state_combine(), parameters, locals, stack, |
2113 state_info.shared_info(), outer_state); | 2115 state_info.shared_info(), outer_state); |
2114 } | 2116 } |
2115 | 2117 |
2116 | 2118 |
2117 } // namespace compiler | 2119 } // namespace compiler |
2118 } // namespace internal | 2120 } // namespace internal |
2119 } // namespace v8 | 2121 } // namespace v8 |
OLD | NEW |