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/objects.h" | 5 #include "src/objects.h" |
6 | 6 |
7 #include <cmath> | 7 #include <cmath> |
8 #include <iomanip> | 8 #include <iomanip> |
9 #include <sstream> | 9 #include <sstream> |
10 | 10 |
(...skipping 1925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1936 case FIXED_DOUBLE_ARRAY_TYPE: | 1936 case FIXED_DOUBLE_ARRAY_TYPE: |
1937 os << "<FixedDoubleArray[" << FixedDoubleArray::cast(this)->length() | 1937 os << "<FixedDoubleArray[" << FixedDoubleArray::cast(this)->length() |
1938 << "]>"; | 1938 << "]>"; |
1939 break; | 1939 break; |
1940 case BYTE_ARRAY_TYPE: | 1940 case BYTE_ARRAY_TYPE: |
1941 os << "<ByteArray[" << ByteArray::cast(this)->length() << "]>"; | 1941 os << "<ByteArray[" << ByteArray::cast(this)->length() << "]>"; |
1942 break; | 1942 break; |
1943 case BYTECODE_ARRAY_TYPE: | 1943 case BYTECODE_ARRAY_TYPE: |
1944 os << "<BytecodeArray[" << BytecodeArray::cast(this)->length() << "]>"; | 1944 os << "<BytecodeArray[" << BytecodeArray::cast(this)->length() << "]>"; |
1945 break; | 1945 break; |
1946 case TRANSITION_ARRAY_TYPE: | |
1947 os << "<TransitionArray[" << TransitionArray::cast(this)->length() | |
1948 << "]>"; | |
1949 break; | |
1950 case FREE_SPACE_TYPE: | 1946 case FREE_SPACE_TYPE: |
1951 os << "<FreeSpace[" << FreeSpace::cast(this)->size() << "]>"; | 1947 os << "<FreeSpace[" << FreeSpace::cast(this)->size() << "]>"; |
1952 break; | 1948 break; |
1953 #define TYPED_ARRAY_SHORT_PRINT(Type, type, TYPE, ctype, size) \ | 1949 #define TYPED_ARRAY_SHORT_PRINT(Type, type, TYPE, ctype, size) \ |
1954 case FIXED_##TYPE##_ARRAY_TYPE: \ | 1950 case FIXED_##TYPE##_ARRAY_TYPE: \ |
1955 os << "<Fixed" #Type "Array[" << Fixed##Type##Array::cast(this)->length() \ | 1951 os << "<Fixed" #Type "Array[" << Fixed##Type##Array::cast(this)->length() \ |
1956 << "]>"; \ | 1952 << "]>"; \ |
1957 break; | 1953 break; |
1958 | 1954 |
1959 TYPED_ARRAYS(TYPED_ARRAY_SHORT_PRINT) | 1955 TYPED_ARRAYS(TYPED_ARRAY_SHORT_PRINT) |
(...skipping 16691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18651 if (cell->value() != *new_value) { | 18647 if (cell->value() != *new_value) { |
18652 cell->set_value(*new_value); | 18648 cell->set_value(*new_value); |
18653 Isolate* isolate = cell->GetIsolate(); | 18649 Isolate* isolate = cell->GetIsolate(); |
18654 cell->dependent_code()->DeoptimizeDependentCodeGroup( | 18650 cell->dependent_code()->DeoptimizeDependentCodeGroup( |
18655 isolate, DependentCode::kPropertyCellChangedGroup); | 18651 isolate, DependentCode::kPropertyCellChangedGroup); |
18656 } | 18652 } |
18657 } | 18653 } |
18658 | 18654 |
18659 } // namespace internal | 18655 } // namespace internal |
18660 } // namespace v8 | 18656 } // namespace v8 |
OLD | NEW |