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 <sstream> | 5 #include <sstream> |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #include "src/accessors.h" | 9 #include "src/accessors.h" |
10 #include "src/allocation-site-scopes.h" | 10 #include "src/allocation-site-scopes.h" |
(...skipping 1606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1617 break; | 1617 break; |
1618 case CODE_TYPE: | 1618 case CODE_TYPE: |
1619 reinterpret_cast<Code*>(this)->CodeIterateBody(v); | 1619 reinterpret_cast<Code*>(this)->CodeIterateBody(v); |
1620 break; | 1620 break; |
1621 case CELL_TYPE: | 1621 case CELL_TYPE: |
1622 Cell::BodyDescriptor::IterateBody(this, v); | 1622 Cell::BodyDescriptor::IterateBody(this, v); |
1623 break; | 1623 break; |
1624 case PROPERTY_CELL_TYPE: | 1624 case PROPERTY_CELL_TYPE: |
1625 PropertyCell::BodyDescriptor::IterateBody(this, v); | 1625 PropertyCell::BodyDescriptor::IterateBody(this, v); |
1626 break; | 1626 break; |
| 1627 case WEAK_CELL_TYPE: |
| 1628 WeakCell::BodyDescriptor::IterateBody(this, v); |
| 1629 break; |
1627 case SYMBOL_TYPE: | 1630 case SYMBOL_TYPE: |
1628 Symbol::BodyDescriptor::IterateBody(this, v); | 1631 Symbol::BodyDescriptor::IterateBody(this, v); |
1629 break; | 1632 break; |
1630 | 1633 |
1631 case HEAP_NUMBER_TYPE: | 1634 case HEAP_NUMBER_TYPE: |
1632 case MUTABLE_HEAP_NUMBER_TYPE: | 1635 case MUTABLE_HEAP_NUMBER_TYPE: |
1633 case FILLER_TYPE: | 1636 case FILLER_TYPE: |
1634 case BYTE_ARRAY_TYPE: | 1637 case BYTE_ARRAY_TYPE: |
1635 case FREE_SPACE_TYPE: | 1638 case FREE_SPACE_TYPE: |
1636 break; | 1639 break; |
(...skipping 14756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16393 Handle<DependentCode> codes = | 16396 Handle<DependentCode> codes = |
16394 DependentCode::Insert(handle(cell->dependent_code(), info->isolate()), | 16397 DependentCode::Insert(handle(cell->dependent_code(), info->isolate()), |
16395 DependentCode::kPropertyCellChangedGroup, | 16398 DependentCode::kPropertyCellChangedGroup, |
16396 info->object_wrapper()); | 16399 info->object_wrapper()); |
16397 if (*codes != cell->dependent_code()) cell->set_dependent_code(*codes); | 16400 if (*codes != cell->dependent_code()) cell->set_dependent_code(*codes); |
16398 info->dependencies(DependentCode::kPropertyCellChangedGroup)->Add( | 16401 info->dependencies(DependentCode::kPropertyCellChangedGroup)->Add( |
16399 cell, info->zone()); | 16402 cell, info->zone()); |
16400 } | 16403 } |
16401 | 16404 |
16402 } } // namespace v8::internal | 16405 } } // namespace v8::internal |
OLD | NEW |