| 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/ast/scopes.h" | 5 #include "src/ast/scopes.h" |
| 6 #include "src/compiler/code-generator.h" | 6 #include "src/compiler/code-generator.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 1328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1339 break; | 1339 break; |
| 1340 case kAtomicLoadInt16: | 1340 case kAtomicLoadInt16: |
| 1341 ASSEMBLE_ATOMIC_LOAD_INTEGER(lh); | 1341 ASSEMBLE_ATOMIC_LOAD_INTEGER(lh); |
| 1342 break; | 1342 break; |
| 1343 case kAtomicLoadUint16: | 1343 case kAtomicLoadUint16: |
| 1344 ASSEMBLE_ATOMIC_LOAD_INTEGER(lhu); | 1344 ASSEMBLE_ATOMIC_LOAD_INTEGER(lhu); |
| 1345 break; | 1345 break; |
| 1346 case kAtomicLoadWord32: | 1346 case kAtomicLoadWord32: |
| 1347 ASSEMBLE_ATOMIC_LOAD_INTEGER(lw); | 1347 ASSEMBLE_ATOMIC_LOAD_INTEGER(lw); |
| 1348 break; | 1348 break; |
| 1349 case kAtomicStoreWord8: |
| 1350 case kAtomicStoreWord16: |
| 1351 case kAtomicStoreWord32: |
| 1352 // TODO(binji): implement |
| 1353 __ nop(); |
| 1354 break; |
| 1349 } | 1355 } |
| 1350 return kSuccess; | 1356 return kSuccess; |
| 1351 } // NOLINT(readability/fn_size) | 1357 } // NOLINT(readability/fn_size) |
| 1352 | 1358 |
| 1353 | 1359 |
| 1354 #define UNSUPPORTED_COND(opcode, condition) \ | 1360 #define UNSUPPORTED_COND(opcode, condition) \ |
| 1355 OFStream out(stdout); \ | 1361 OFStream out(stdout); \ |
| 1356 out << "Unsupported " << #opcode << " condition: \"" << condition << "\""; \ | 1362 out << "Unsupported " << #opcode << " condition: \"" << condition << "\""; \ |
| 1357 UNIMPLEMENTED(); | 1363 UNIMPLEMENTED(); |
| 1358 | 1364 |
| (...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1967 padding_size -= v8::internal::Assembler::kInstrSize; | 1973 padding_size -= v8::internal::Assembler::kInstrSize; |
| 1968 } | 1974 } |
| 1969 } | 1975 } |
| 1970 } | 1976 } |
| 1971 | 1977 |
| 1972 #undef __ | 1978 #undef __ |
| 1973 | 1979 |
| 1974 } // namespace compiler | 1980 } // namespace compiler |
| 1975 } // namespace internal | 1981 } // namespace internal |
| 1976 } // namespace v8 | 1982 } // namespace v8 |
| OLD | NEW |