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 1848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1859 break; | 1859 break; |
1860 case kAtomicStoreWord8: | 1860 case kAtomicStoreWord8: |
1861 ASSEMBLE_ATOMIC_STORE_INTEGER(sb); | 1861 ASSEMBLE_ATOMIC_STORE_INTEGER(sb); |
1862 break; | 1862 break; |
1863 case kAtomicStoreWord16: | 1863 case kAtomicStoreWord16: |
1864 ASSEMBLE_ATOMIC_STORE_INTEGER(sh); | 1864 ASSEMBLE_ATOMIC_STORE_INTEGER(sh); |
1865 break; | 1865 break; |
1866 case kAtomicStoreWord32: | 1866 case kAtomicStoreWord32: |
1867 ASSEMBLE_ATOMIC_STORE_INTEGER(sw); | 1867 ASSEMBLE_ATOMIC_STORE_INTEGER(sw); |
1868 break; | 1868 break; |
| 1869 case kMips64AssertEqual: |
| 1870 __ Assert(eq, static_cast<BailoutReason>(i.InputOperand(2).immediate()), |
| 1871 i.InputRegister(0), Operand(i.InputRegister(1))); |
| 1872 break; |
1869 } | 1873 } |
1870 return kSuccess; | 1874 return kSuccess; |
1871 } // NOLINT(readability/fn_size) | 1875 } // NOLINT(readability/fn_size) |
1872 | 1876 |
1873 | 1877 |
1874 #define UNSUPPORTED_COND(opcode, condition) \ | 1878 #define UNSUPPORTED_COND(opcode, condition) \ |
1875 OFStream out(stdout); \ | 1879 OFStream out(stdout); \ |
1876 out << "Unsupported " << #opcode << " condition: \"" << condition << "\""; \ | 1880 out << "Unsupported " << #opcode << " condition: \"" << condition << "\""; \ |
1877 UNIMPLEMENTED(); | 1881 UNIMPLEMENTED(); |
1878 | 1882 |
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2525 padding_size -= v8::internal::Assembler::kInstrSize; | 2529 padding_size -= v8::internal::Assembler::kInstrSize; |
2526 } | 2530 } |
2527 } | 2531 } |
2528 } | 2532 } |
2529 | 2533 |
2530 #undef __ | 2534 #undef __ |
2531 | 2535 |
2532 } // namespace compiler | 2536 } // namespace compiler |
2533 } // namespace internal | 2537 } // namespace internal |
2534 } // namespace v8 | 2538 } // namespace v8 |
OLD | NEW |