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 1898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1909 break; | 1909 break; |
1910 case kAtomicStoreWord8: | 1910 case kAtomicStoreWord8: |
1911 ASSEMBLE_ATOMIC_STORE_INTEGER(sb); | 1911 ASSEMBLE_ATOMIC_STORE_INTEGER(sb); |
1912 break; | 1912 break; |
1913 case kAtomicStoreWord16: | 1913 case kAtomicStoreWord16: |
1914 ASSEMBLE_ATOMIC_STORE_INTEGER(sh); | 1914 ASSEMBLE_ATOMIC_STORE_INTEGER(sh); |
1915 break; | 1915 break; |
1916 case kAtomicStoreWord32: | 1916 case kAtomicStoreWord32: |
1917 ASSEMBLE_ATOMIC_STORE_INTEGER(sw); | 1917 ASSEMBLE_ATOMIC_STORE_INTEGER(sw); |
1918 break; | 1918 break; |
| 1919 case kAtomicExchangeInt8: |
| 1920 case kAtomicExchangeUint8: |
| 1921 case kAtomicExchangeInt16: |
| 1922 case kAtomicExchangeUint16: |
| 1923 case kAtomicExchangeWord32: |
| 1924 UNREACHABLE(); |
| 1925 break; |
1919 case kMips64AssertEqual: | 1926 case kMips64AssertEqual: |
1920 __ Assert(eq, static_cast<BailoutReason>(i.InputOperand(2).immediate()), | 1927 __ Assert(eq, static_cast<BailoutReason>(i.InputOperand(2).immediate()), |
1921 i.InputRegister(0), Operand(i.InputRegister(1))); | 1928 i.InputRegister(0), Operand(i.InputRegister(1))); |
1922 break; | 1929 break; |
1923 } | 1930 } |
1924 return kSuccess; | 1931 return kSuccess; |
1925 } // NOLINT(readability/fn_size) | 1932 } // NOLINT(readability/fn_size) |
1926 | 1933 |
1927 | 1934 |
1928 #define UNSUPPORTED_COND(opcode, condition) \ | 1935 #define UNSUPPORTED_COND(opcode, condition) \ |
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2676 padding_size -= v8::internal::Assembler::kInstrSize; | 2683 padding_size -= v8::internal::Assembler::kInstrSize; |
2677 } | 2684 } |
2678 } | 2685 } |
2679 } | 2686 } |
2680 | 2687 |
2681 #undef __ | 2688 #undef __ |
2682 | 2689 |
2683 } // namespace compiler | 2690 } // namespace compiler |
2684 } // namespace internal | 2691 } // namespace internal |
2685 } // namespace v8 | 2692 } // namespace v8 |
OLD | NEW |