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 1929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1940 case FIXED_DOUBLE_ARRAY_TYPE: | 1940 case FIXED_DOUBLE_ARRAY_TYPE: |
1941 os << "<FixedDoubleArray[" << FixedDoubleArray::cast(this)->length() | 1941 os << "<FixedDoubleArray[" << FixedDoubleArray::cast(this)->length() |
1942 << "]>"; | 1942 << "]>"; |
1943 break; | 1943 break; |
1944 case BYTE_ARRAY_TYPE: | 1944 case BYTE_ARRAY_TYPE: |
1945 os << "<ByteArray[" << ByteArray::cast(this)->length() << "]>"; | 1945 os << "<ByteArray[" << ByteArray::cast(this)->length() << "]>"; |
1946 break; | 1946 break; |
1947 case BYTECODE_ARRAY_TYPE: | 1947 case BYTECODE_ARRAY_TYPE: |
1948 os << "<BytecodeArray[" << BytecodeArray::cast(this)->length() << "]>"; | 1948 os << "<BytecodeArray[" << BytecodeArray::cast(this)->length() << "]>"; |
1949 break; | 1949 break; |
| 1950 case TRANSITION_ARRAY_TYPE: |
| 1951 os << "<TransitionArray[" << TransitionArray::cast(this)->length() |
| 1952 << "]>"; |
| 1953 break; |
1950 case FREE_SPACE_TYPE: | 1954 case FREE_SPACE_TYPE: |
1951 os << "<FreeSpace[" << FreeSpace::cast(this)->size() << "]>"; | 1955 os << "<FreeSpace[" << FreeSpace::cast(this)->size() << "]>"; |
1952 break; | 1956 break; |
1953 #define TYPED_ARRAY_SHORT_PRINT(Type, type, TYPE, ctype, size) \ | 1957 #define TYPED_ARRAY_SHORT_PRINT(Type, type, TYPE, ctype, size) \ |
1954 case FIXED_##TYPE##_ARRAY_TYPE: \ | 1958 case FIXED_##TYPE##_ARRAY_TYPE: \ |
1955 os << "<Fixed" #Type "Array[" << Fixed##Type##Array::cast(this)->length() \ | 1959 os << "<Fixed" #Type "Array[" << Fixed##Type##Array::cast(this)->length() \ |
1956 << "]>"; \ | 1960 << "]>"; \ |
1957 break; | 1961 break; |
1958 | 1962 |
1959 TYPED_ARRAYS(TYPED_ARRAY_SHORT_PRINT) | 1963 TYPED_ARRAYS(TYPED_ARRAY_SHORT_PRINT) |
(...skipping 16624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18584 if (cell->value() != *new_value) { | 18588 if (cell->value() != *new_value) { |
18585 cell->set_value(*new_value); | 18589 cell->set_value(*new_value); |
18586 Isolate* isolate = cell->GetIsolate(); | 18590 Isolate* isolate = cell->GetIsolate(); |
18587 cell->dependent_code()->DeoptimizeDependentCodeGroup( | 18591 cell->dependent_code()->DeoptimizeDependentCodeGroup( |
18588 isolate, DependentCode::kPropertyCellChangedGroup); | 18592 isolate, DependentCode::kPropertyCellChangedGroup); |
18589 } | 18593 } |
18590 } | 18594 } |
18591 | 18595 |
18592 } // namespace internal | 18596 } // namespace internal |
18593 } // namespace v8 | 18597 } // namespace v8 |
OLD | NEW |