Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(944)

Side by Side Diff: src/objects.cc

Issue 1416003003: Cleanup FreeSpace: Remove getter for address of next pointer (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698