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 #include "src/compilation-info.h" | 6 #include "src/compilation-info.h" |
7 #include "src/compiler/code-generator-impl.h" | 7 #include "src/compiler/code-generator-impl.h" |
8 #include "src/compiler/gap-resolver.h" | 8 #include "src/compiler/gap-resolver.h" |
9 #include "src/compiler/node-matchers.h" | 9 #include "src/compiler/node-matchers.h" |
10 #include "src/compiler/osr.h" | 10 #include "src/compiler/osr.h" |
(...skipping 1577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1588 ASSEMBLE_ATOMIC_STORE_INTEGER(sh); | 1588 ASSEMBLE_ATOMIC_STORE_INTEGER(sh); |
1589 break; | 1589 break; |
1590 case kAtomicStoreWord32: | 1590 case kAtomicStoreWord32: |
1591 ASSEMBLE_ATOMIC_STORE_INTEGER(sw); | 1591 ASSEMBLE_ATOMIC_STORE_INTEGER(sw); |
1592 break; | 1592 break; |
1593 case kAtomicExchangeInt8: | 1593 case kAtomicExchangeInt8: |
1594 case kAtomicExchangeUint8: | 1594 case kAtomicExchangeUint8: |
1595 case kAtomicExchangeInt16: | 1595 case kAtomicExchangeInt16: |
1596 case kAtomicExchangeUint16: | 1596 case kAtomicExchangeUint16: |
1597 case kAtomicExchangeWord32: | 1597 case kAtomicExchangeWord32: |
| 1598 case kAtomicCompareExchangeInt8: |
| 1599 case kAtomicCompareExchangeUint8: |
| 1600 case kAtomicCompareExchangeInt16: |
| 1601 case kAtomicCompareExchangeUint16: |
| 1602 case kAtomicCompareExchangeWord32: |
1598 UNREACHABLE(); | 1603 UNREACHABLE(); |
1599 break; | 1604 break; |
1600 } | 1605 } |
1601 return kSuccess; | 1606 return kSuccess; |
1602 } // NOLINT(readability/fn_size) | 1607 } // NOLINT(readability/fn_size) |
1603 | 1608 |
1604 | 1609 |
1605 #define UNSUPPORTED_COND(opcode, condition) \ | 1610 #define UNSUPPORTED_COND(opcode, condition) \ |
1606 OFStream out(stdout); \ | 1611 OFStream out(stdout); \ |
1607 out << "Unsupported " << #opcode << " condition: \"" << condition << "\""; \ | 1612 out << "Unsupported " << #opcode << " condition: \"" << condition << "\""; \ |
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2383 padding_size -= v8::internal::Assembler::kInstrSize; | 2388 padding_size -= v8::internal::Assembler::kInstrSize; |
2384 } | 2389 } |
2385 } | 2390 } |
2386 } | 2391 } |
2387 | 2392 |
2388 #undef __ | 2393 #undef __ |
2389 | 2394 |
2390 } // namespace compiler | 2395 } // namespace compiler |
2391 } // namespace internal | 2396 } // namespace internal |
2392 } // namespace v8 | 2397 } // namespace v8 |
OLD | NEW |