OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 <limits> | 7 #include <limits> |
8 | 8 |
9 #include "src/compilation-info.h" | 9 #include "src/compilation-info.h" |
10 #include "src/compiler/code-generator-impl.h" | 10 #include "src/compiler/code-generator-impl.h" |
(...skipping 2221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2232 __ CompareRoot(rsp, Heap::kStackLimitRootIndex); | 2232 __ CompareRoot(rsp, Heap::kStackLimitRootIndex); |
2233 break; | 2233 break; |
2234 case kAtomicLoadInt8: | 2234 case kAtomicLoadInt8: |
2235 case kAtomicLoadUint8: | 2235 case kAtomicLoadUint8: |
2236 case kAtomicLoadInt16: | 2236 case kAtomicLoadInt16: |
2237 case kAtomicLoadUint16: | 2237 case kAtomicLoadUint16: |
2238 case kAtomicLoadWord32: | 2238 case kAtomicLoadWord32: |
2239 case kAtomicStoreWord8: | 2239 case kAtomicStoreWord8: |
2240 case kAtomicStoreWord16: | 2240 case kAtomicStoreWord16: |
2241 case kAtomicStoreWord32: | 2241 case kAtomicStoreWord32: |
| 2242 case kAtomicExchangeInt8: |
| 2243 case kAtomicExchangeUint8: |
| 2244 case kAtomicExchangeInt16: |
| 2245 case kAtomicExchangeUint16: |
| 2246 case kAtomicExchangeWord32: |
2242 UNREACHABLE(); // Won't be generated by instruction selector. | 2247 UNREACHABLE(); // Won't be generated by instruction selector. |
2243 break; | 2248 break; |
2244 } | 2249 } |
2245 return kSuccess; | 2250 return kSuccess; |
2246 } // NOLINT(readability/fn_size) | 2251 } // NOLINT(readability/fn_size) |
2247 | 2252 |
2248 namespace { | 2253 namespace { |
2249 | 2254 |
2250 Condition FlagsConditionToCondition(FlagsCondition condition) { | 2255 Condition FlagsConditionToCondition(FlagsCondition condition) { |
2251 switch (condition) { | 2256 switch (condition) { |
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2858 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; | 2863 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; |
2859 __ Nop(padding_size); | 2864 __ Nop(padding_size); |
2860 } | 2865 } |
2861 } | 2866 } |
2862 | 2867 |
2863 #undef __ | 2868 #undef __ |
2864 | 2869 |
2865 } // namespace compiler | 2870 } // namespace compiler |
2866 } // namespace internal | 2871 } // namespace internal |
2867 } // namespace v8 | 2872 } // namespace v8 |
OLD | NEW |