OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 13017 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13028 case JS_DATE_TYPE: | 13028 case JS_DATE_TYPE: |
13029 case JS_ARRAY_TYPE: | 13029 case JS_ARRAY_TYPE: |
13030 case JS_MESSAGE_OBJECT_TYPE: | 13030 case JS_MESSAGE_OBJECT_TYPE: |
13031 case JS_ARRAY_BUFFER_TYPE: | 13031 case JS_ARRAY_BUFFER_TYPE: |
13032 case JS_TYPED_ARRAY_TYPE: | 13032 case JS_TYPED_ARRAY_TYPE: |
13033 case JS_DATA_VIEW_TYPE: | 13033 case JS_DATA_VIEW_TYPE: |
13034 case JS_SET_TYPE: | 13034 case JS_SET_TYPE: |
13035 case JS_MAP_TYPE: | 13035 case JS_MAP_TYPE: |
13036 case JS_SET_ITERATOR_TYPE: | 13036 case JS_SET_ITERATOR_TYPE: |
13037 case JS_MAP_ITERATOR_TYPE: | 13037 case JS_MAP_ITERATOR_TYPE: |
13038 case JS_ITERATOR_RESULT_TYPE: | |
13039 case JS_WEAK_MAP_TYPE: | 13038 case JS_WEAK_MAP_TYPE: |
13040 case JS_WEAK_SET_TYPE: | 13039 case JS_WEAK_SET_TYPE: |
13041 case JS_PROMISE_TYPE: | 13040 case JS_PROMISE_TYPE: |
13042 case JS_REGEXP_TYPE: | 13041 case JS_REGEXP_TYPE: |
13043 case JS_FUNCTION_TYPE: | 13042 case JS_FUNCTION_TYPE: |
13044 return true; | 13043 return true; |
13045 | 13044 |
13046 case JS_BOUND_FUNCTION_TYPE: | 13045 case JS_BOUND_FUNCTION_TYPE: |
13047 case JS_PROXY_TYPE: | 13046 case JS_PROXY_TYPE: |
13048 case JS_GLOBAL_PROXY_TYPE: | 13047 case JS_GLOBAL_PROXY_TYPE: |
(...skipping 6755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19804 if (cell->value() != *new_value) { | 19803 if (cell->value() != *new_value) { |
19805 cell->set_value(*new_value); | 19804 cell->set_value(*new_value); |
19806 Isolate* isolate = cell->GetIsolate(); | 19805 Isolate* isolate = cell->GetIsolate(); |
19807 cell->dependent_code()->DeoptimizeDependentCodeGroup( | 19806 cell->dependent_code()->DeoptimizeDependentCodeGroup( |
19808 isolate, DependentCode::kPropertyCellChangedGroup); | 19807 isolate, DependentCode::kPropertyCellChangedGroup); |
19809 } | 19808 } |
19810 } | 19809 } |
19811 | 19810 |
19812 } // namespace internal | 19811 } // namespace internal |
19813 } // namespace v8 | 19812 } // namespace v8 |
OLD | NEW |