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 1791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1802 os << "<FixedDoubleArray[" << FixedDoubleArray::cast(this)->length() | 1802 os << "<FixedDoubleArray[" << FixedDoubleArray::cast(this)->length() |
1803 << "]>"; | 1803 << "]>"; |
1804 break; | 1804 break; |
1805 case BYTE_ARRAY_TYPE: | 1805 case BYTE_ARRAY_TYPE: |
1806 os << "<ByteArray[" << ByteArray::cast(this)->length() << "]>"; | 1806 os << "<ByteArray[" << ByteArray::cast(this)->length() << "]>"; |
1807 break; | 1807 break; |
1808 case BYTECODE_ARRAY_TYPE: | 1808 case BYTECODE_ARRAY_TYPE: |
1809 os << "<BytecodeArray[" << BytecodeArray::cast(this)->length() << "]>"; | 1809 os << "<BytecodeArray[" << BytecodeArray::cast(this)->length() << "]>"; |
1810 break; | 1810 break; |
1811 case FREE_SPACE_TYPE: | 1811 case FREE_SPACE_TYPE: |
1812 os << "<FreeSpace[" << FreeSpace::cast(this)->Size() << "]>"; | 1812 os << "<FreeSpace[" << FreeSpace::cast(this)->size() << "]>"; |
1813 break; | 1813 break; |
1814 #define TYPED_ARRAY_SHORT_PRINT(Type, type, TYPE, ctype, size) \ | 1814 #define TYPED_ARRAY_SHORT_PRINT(Type, type, TYPE, ctype, size) \ |
1815 case FIXED_##TYPE##_ARRAY_TYPE: \ | 1815 case FIXED_##TYPE##_ARRAY_TYPE: \ |
1816 os << "<Fixed" #Type "Array[" << Fixed##Type##Array::cast(this)->length() \ | 1816 os << "<Fixed" #Type "Array[" << Fixed##Type##Array::cast(this)->length() \ |
1817 << "]>"; \ | 1817 << "]>"; \ |
1818 break; | 1818 break; |
1819 | 1819 |
1820 TYPED_ARRAYS(TYPED_ARRAY_SHORT_PRINT) | 1820 TYPED_ARRAYS(TYPED_ARRAY_SHORT_PRINT) |
1821 #undef TYPED_ARRAY_SHORT_PRINT | 1821 #undef TYPED_ARRAY_SHORT_PRINT |
1822 | 1822 |
(...skipping 15989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17812 if (cell->value() != *new_value) { | 17812 if (cell->value() != *new_value) { |
17813 cell->set_value(*new_value); | 17813 cell->set_value(*new_value); |
17814 Isolate* isolate = cell->GetIsolate(); | 17814 Isolate* isolate = cell->GetIsolate(); |
17815 cell->dependent_code()->DeoptimizeDependentCodeGroup( | 17815 cell->dependent_code()->DeoptimizeDependentCodeGroup( |
17816 isolate, DependentCode::kPropertyCellChangedGroup); | 17816 isolate, DependentCode::kPropertyCellChangedGroup); |
17817 } | 17817 } |
17818 } | 17818 } |
17819 | 17819 |
17820 } // namespace internal | 17820 } // namespace internal |
17821 } // namespace v8 | 17821 } // namespace v8 |
OLD | NEW |