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/compilation-info.h" | 7 #include "src/compilation-info.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 1960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1971 | 1971 |
1972 case kAtomicStoreWord8: | 1972 case kAtomicStoreWord8: |
1973 ASSEMBLE_ATOMIC_STORE_INTEGER(stb, stbx); | 1973 ASSEMBLE_ATOMIC_STORE_INTEGER(stb, stbx); |
1974 break; | 1974 break; |
1975 case kAtomicStoreWord16: | 1975 case kAtomicStoreWord16: |
1976 ASSEMBLE_ATOMIC_STORE_INTEGER(sth, sthx); | 1976 ASSEMBLE_ATOMIC_STORE_INTEGER(sth, sthx); |
1977 break; | 1977 break; |
1978 case kAtomicStoreWord32: | 1978 case kAtomicStoreWord32: |
1979 ASSEMBLE_ATOMIC_STORE_INTEGER(stw, stwx); | 1979 ASSEMBLE_ATOMIC_STORE_INTEGER(stw, stwx); |
1980 break; | 1980 break; |
| 1981 case kAtomicExchangeInt8: |
| 1982 case kAtomicExchangeUint8: |
| 1983 case kAtomicExchangeInt16: |
| 1984 case kAtomicExchangeUint16: |
| 1985 case kAtomicExchangeWord32: |
| 1986 UNREACHABLE(); |
| 1987 break; |
1981 default: | 1988 default: |
1982 UNREACHABLE(); | 1989 UNREACHABLE(); |
1983 break; | 1990 break; |
1984 } | 1991 } |
1985 return kSuccess; | 1992 return kSuccess; |
1986 } // NOLINT(readability/fn_size) | 1993 } // NOLINT(readability/fn_size) |
1987 | 1994 |
1988 | 1995 |
1989 // Assembles branches after an instruction. | 1996 // Assembles branches after an instruction. |
1990 void CodeGenerator::AssembleArchBranch(Instruction* instr, BranchInfo* branch) { | 1997 void CodeGenerator::AssembleArchBranch(Instruction* instr, BranchInfo* branch) { |
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2581 padding_size -= v8::internal::Assembler::kInstrSize; | 2588 padding_size -= v8::internal::Assembler::kInstrSize; |
2582 } | 2589 } |
2583 } | 2590 } |
2584 } | 2591 } |
2585 | 2592 |
2586 #undef __ | 2593 #undef __ |
2587 | 2594 |
2588 } // namespace compiler | 2595 } // namespace compiler |
2589 } // namespace internal | 2596 } // namespace internal |
2590 } // namespace v8 | 2597 } // namespace v8 |
OLD | NEW |