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 <iomanip> | 5 #include <iomanip> |
6 #include <sstream> | 6 #include <sstream> |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/accessors.h" | 10 #include "src/accessors.h" |
(...skipping 1387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1398 HeapNumber::cast(this)->HeapNumberPrint(os); | 1398 HeapNumber::cast(this)->HeapNumberPrint(os); |
1399 os << ">"; | 1399 os << ">"; |
1400 break; | 1400 break; |
1401 } | 1401 } |
1402 case MUTABLE_HEAP_NUMBER_TYPE: { | 1402 case MUTABLE_HEAP_NUMBER_TYPE: { |
1403 os << "<MutableNumber: "; | 1403 os << "<MutableNumber: "; |
1404 HeapNumber::cast(this)->HeapNumberPrint(os); | 1404 HeapNumber::cast(this)->HeapNumberPrint(os); |
1405 os << '>'; | 1405 os << '>'; |
1406 break; | 1406 break; |
1407 } | 1407 } |
1408 case FLOAT32X4_TYPE: | 1408 case SIMD128_VALUE_TYPE: { |
1409 os << "<Float32x4>"; | 1409 #define SIMD128_TYPE(TYPE, Type, type, lane_count, lane_type) \ |
| 1410 if (Is##Type()) { \ |
| 1411 os << "<" #Type ">"; \ |
| 1412 break; \ |
| 1413 } |
| 1414 SIMD128_TYPES(SIMD128_TYPE) |
| 1415 #undef SIMD128_TYPE |
| 1416 UNREACHABLE(); |
1410 break; | 1417 break; |
1411 case INT32X4_TYPE: | 1418 } |
1412 os << "<Int32x4>"; | |
1413 break; | |
1414 case BOOL32X4_TYPE: | |
1415 os << "<Bool32x4>"; | |
1416 break; | |
1417 case INT16X8_TYPE: | |
1418 os << "<Int16x8>"; | |
1419 break; | |
1420 case BOOL16X8_TYPE: | |
1421 os << "<Bool16x8>"; | |
1422 break; | |
1423 case INT8X16_TYPE: | |
1424 os << "<Int8x16>"; | |
1425 break; | |
1426 case BOOL8X16_TYPE: | |
1427 os << "<Bool8x16>"; | |
1428 break; | |
1429 case JS_PROXY_TYPE: | 1419 case JS_PROXY_TYPE: |
1430 os << "<JSProxy>"; | 1420 os << "<JSProxy>"; |
1431 break; | 1421 break; |
1432 case JS_FUNCTION_PROXY_TYPE: | 1422 case JS_FUNCTION_PROXY_TYPE: |
1433 os << "<JSFunctionProxy>"; | 1423 os << "<JSFunctionProxy>"; |
1434 break; | 1424 break; |
1435 case FOREIGN_TYPE: | 1425 case FOREIGN_TYPE: |
1436 os << "<Foreign>"; | 1426 os << "<Foreign>"; |
1437 break; | 1427 break; |
1438 case CELL_TYPE: { | 1428 case CELL_TYPE: { |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1562 break; | 1552 break; |
1563 case WEAK_CELL_TYPE: | 1553 case WEAK_CELL_TYPE: |
1564 WeakCell::BodyDescriptor::IterateBody(this, v); | 1554 WeakCell::BodyDescriptor::IterateBody(this, v); |
1565 break; | 1555 break; |
1566 case SYMBOL_TYPE: | 1556 case SYMBOL_TYPE: |
1567 Symbol::BodyDescriptor::IterateBody(this, v); | 1557 Symbol::BodyDescriptor::IterateBody(this, v); |
1568 break; | 1558 break; |
1569 | 1559 |
1570 case HEAP_NUMBER_TYPE: | 1560 case HEAP_NUMBER_TYPE: |
1571 case MUTABLE_HEAP_NUMBER_TYPE: | 1561 case MUTABLE_HEAP_NUMBER_TYPE: |
1572 case FLOAT32X4_TYPE: | 1562 case SIMD128_VALUE_TYPE: |
1573 case INT32X4_TYPE: | |
1574 case BOOL32X4_TYPE: | |
1575 case INT16X8_TYPE: | |
1576 case BOOL16X8_TYPE: | |
1577 case INT8X16_TYPE: | |
1578 case BOOL8X16_TYPE: | |
1579 case FILLER_TYPE: | 1563 case FILLER_TYPE: |
1580 case BYTE_ARRAY_TYPE: | 1564 case BYTE_ARRAY_TYPE: |
1581 case BYTECODE_ARRAY_TYPE: | 1565 case BYTECODE_ARRAY_TYPE: |
1582 case FREE_SPACE_TYPE: | 1566 case FREE_SPACE_TYPE: |
1583 break; | 1567 break; |
1584 | 1568 |
1585 #define TYPED_ARRAY_CASE(Type, type, TYPE, ctype, size) \ | 1569 #define TYPED_ARRAY_CASE(Type, type, TYPE, ctype, size) \ |
1586 case FIXED_##TYPE##_ARRAY_TYPE: \ | 1570 case FIXED_##TYPE##_ARRAY_TYPE: \ |
1587 reinterpret_cast<FixedTypedArrayBase*>(this) \ | 1571 reinterpret_cast<FixedTypedArrayBase*>(this) \ |
1588 ->FixedTypedArrayBaseIterateBody(v); \ | 1572 ->FixedTypedArrayBaseIterateBody(v); \ |
(...skipping 14290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15879 if (cell->value() != *new_value) { | 15863 if (cell->value() != *new_value) { |
15880 cell->set_value(*new_value); | 15864 cell->set_value(*new_value); |
15881 Isolate* isolate = cell->GetIsolate(); | 15865 Isolate* isolate = cell->GetIsolate(); |
15882 cell->dependent_code()->DeoptimizeDependentCodeGroup( | 15866 cell->dependent_code()->DeoptimizeDependentCodeGroup( |
15883 isolate, DependentCode::kPropertyCellChangedGroup); | 15867 isolate, DependentCode::kPropertyCellChangedGroup); |
15884 } | 15868 } |
15885 } | 15869 } |
15886 | 15870 |
15887 } // namespace internal | 15871 } // namespace internal |
15888 } // namespace v8 | 15872 } // namespace v8 |
OLD | NEW |