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 <iomanip> | 5 #include <iomanip> |
6 #include <sstream> | 6 #include <sstream> |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/accessors.h" | 10 #include "src/accessors.h" |
(...skipping 1582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1593 case JS_OBJECT_TYPE: | 1593 case JS_OBJECT_TYPE: |
1594 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: | 1594 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
1595 case JS_GENERATOR_OBJECT_TYPE: | 1595 case JS_GENERATOR_OBJECT_TYPE: |
1596 case JS_MODULE_TYPE: | 1596 case JS_MODULE_TYPE: |
1597 case JS_VALUE_TYPE: | 1597 case JS_VALUE_TYPE: |
1598 case JS_DATE_TYPE: | 1598 case JS_DATE_TYPE: |
1599 case JS_ARRAY_TYPE: | 1599 case JS_ARRAY_TYPE: |
1600 case JS_ARRAY_BUFFER_TYPE: | 1600 case JS_ARRAY_BUFFER_TYPE: |
1601 case JS_TYPED_ARRAY_TYPE: | 1601 case JS_TYPED_ARRAY_TYPE: |
1602 case JS_DATA_VIEW_TYPE: | 1602 case JS_DATA_VIEW_TYPE: |
| 1603 case JS_SHARED_ARRAY_BUFFER_TYPE: |
| 1604 case JS_SHARED_TYPED_ARRAY_TYPE: |
1603 case JS_SET_TYPE: | 1605 case JS_SET_TYPE: |
1604 case JS_MAP_TYPE: | 1606 case JS_MAP_TYPE: |
1605 case JS_SET_ITERATOR_TYPE: | 1607 case JS_SET_ITERATOR_TYPE: |
1606 case JS_MAP_ITERATOR_TYPE: | 1608 case JS_MAP_ITERATOR_TYPE: |
1607 case JS_WEAK_MAP_TYPE: | 1609 case JS_WEAK_MAP_TYPE: |
1608 case JS_WEAK_SET_TYPE: | 1610 case JS_WEAK_SET_TYPE: |
1609 case JS_REGEXP_TYPE: | 1611 case JS_REGEXP_TYPE: |
1610 case JS_GLOBAL_PROXY_TYPE: | 1612 case JS_GLOBAL_PROXY_TYPE: |
1611 case JS_GLOBAL_OBJECT_TYPE: | 1613 case JS_GLOBAL_OBJECT_TYPE: |
1612 case JS_BUILTINS_OBJECT_TYPE: | 1614 case JS_BUILTINS_OBJECT_TYPE: |
(...skipping 15633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17246 void PropertyCell::SetValueWithInvalidation(Handle<PropertyCell> cell, | 17248 void PropertyCell::SetValueWithInvalidation(Handle<PropertyCell> cell, |
17247 Handle<Object> new_value) { | 17249 Handle<Object> new_value) { |
17248 if (cell->value() != *new_value) { | 17250 if (cell->value() != *new_value) { |
17249 cell->set_value(*new_value); | 17251 cell->set_value(*new_value); |
17250 Isolate* isolate = cell->GetIsolate(); | 17252 Isolate* isolate = cell->GetIsolate(); |
17251 cell->dependent_code()->DeoptimizeDependentCodeGroup( | 17253 cell->dependent_code()->DeoptimizeDependentCodeGroup( |
17252 isolate, DependentCode::kPropertyCellChangedGroup); | 17254 isolate, DependentCode::kPropertyCellChangedGroup); |
17253 } | 17255 } |
17254 } | 17256 } |
17255 } } // namespace v8::internal | 17257 } } // namespace v8::internal |
OLD | NEW |