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/code-generator.h" | 5 #include "src/compiler/code-generator.h" |
6 | 6 |
7 #include "src/arm64/macro-assembler-arm64.h" | 7 #include "src/arm64/macro-assembler-arm64.h" |
8 #include "src/compiler/code-generator-impl.h" | 8 #include "src/compiler/code-generator-impl.h" |
9 #include "src/compiler/gap-resolver.h" | 9 #include "src/compiler/gap-resolver.h" |
10 #include "src/compiler/node-matchers.h" | 10 #include "src/compiler/node-matchers.h" |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 case kMode_Operand2_R_LSL_I: | 93 case kMode_Operand2_R_LSL_I: |
94 case kMode_Operand2_R_LSR_I: | 94 case kMode_Operand2_R_LSR_I: |
95 case kMode_Operand2_R_ASR_I: | 95 case kMode_Operand2_R_ASR_I: |
96 case kMode_Operand2_R_ROR_I: | 96 case kMode_Operand2_R_ROR_I: |
97 break; | 97 break; |
98 case kMode_MRI: | 98 case kMode_MRI: |
99 *first_index += 2; | 99 *first_index += 2; |
100 return MemOperand(InputRegister(index + 0), InputInt32(index + 1)); | 100 return MemOperand(InputRegister(index + 0), InputInt32(index + 1)); |
101 case kMode_MRR: | 101 case kMode_MRR: |
102 *first_index += 2; | 102 *first_index += 2; |
103 return MemOperand(InputRegister(index + 0), InputRegister(index + 1), | 103 return MemOperand(InputRegister(index + 0), InputRegister(index + 1)); |
104 SXTW); | |
105 } | 104 } |
106 UNREACHABLE(); | 105 UNREACHABLE(); |
107 return MemOperand(no_reg); | 106 return MemOperand(no_reg); |
108 } | 107 } |
109 | 108 |
110 MemOperand MemoryOperand() { | 109 MemOperand MemoryOperand() { |
111 int index = 0; | 110 int index = 0; |
112 return MemoryOperand(&index); | 111 return MemoryOperand(&index); |
113 } | 112 } |
114 | 113 |
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1021 } | 1020 } |
1022 } | 1021 } |
1023 MarkLazyDeoptSite(); | 1022 MarkLazyDeoptSite(); |
1024 } | 1023 } |
1025 | 1024 |
1026 #undef __ | 1025 #undef __ |
1027 | 1026 |
1028 } // namespace compiler | 1027 } // namespace compiler |
1029 } // namespace internal | 1028 } // namespace internal |
1030 } // namespace v8 | 1029 } // namespace v8 |
OLD | NEW |